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