nur-sery/nur_tests/b/impl/One.php

17 lines
183 B
PHP

<?php
namespace nur\b\impl;
use nur\b\impl\Two;
class One {
function __construct() {
$this->two = new Two();
}
private $two;
function f() {
$this->two->f();
}
}