改名
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Kiri\Di;
|
|||||||
|
|
||||||
use Annotation\Inject;
|
use Annotation\Inject;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
use Http\Server;
|
||||||
use Kiri\Abstracts\BaseObject;
|
use Kiri\Abstracts\BaseObject;
|
||||||
use Kiri\Exception\NotFindClassException;
|
use Kiri\Exception\NotFindClassException;
|
||||||
use Kiri\Kiri;
|
use Kiri\Kiri;
|
||||||
@@ -200,6 +201,10 @@ class Container extends BaseObject implements ContainerInterface
|
|||||||
foreach ($this->getPropertyNote($reflect) as $property => $inject) {
|
foreach ($this->getPropertyNote($reflect) as $property => $inject) {
|
||||||
/** @var Inject $inject */
|
/** @var Inject $inject */
|
||||||
$inject->execute($object, $property);
|
$inject->execute($object, $property);
|
||||||
|
|
||||||
|
if ($object::class == Server::class){
|
||||||
|
var_dump($object, $property);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $object;
|
return $object;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user