Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-02-03 14:54:38 +08:00
parent 69c1ea60dc
commit ef274b00fc
2 changed files with 1 additions and 7 deletions
-5
View File
@@ -12,10 +12,7 @@ namespace Kiri\Di;
use Closure;
use Exception;
use Kiri;
use Kiri\Abstracts\Logger;
use Kiri\Annotation\Inject;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use ReflectionClass;
use ReflectionException;
use ReflectionFunction;
@@ -57,7 +54,6 @@ class Container implements ContainerInterface
/** @var array|string[] */
private array $_interfaces = [
LoggerInterface::class => Logger::class
];
@@ -202,7 +198,6 @@ class Container implements ContainerInterface
public function propertyInject(ReflectionClass $reflect, $object): mixed
{
foreach (NoteManager::getPropertyAnnotation($reflect) as $property => $inject) {
/** @var Inject $inject */
$inject->execute($object, $property);
}
return $object;
+1 -2
View File
@@ -2,14 +2,13 @@
namespace Kiri\Di;
use Kiri\Abstracts\Component;
use Kiri;
/**
* 服务定位器
*/
class LocalService extends Component
class LocalService
{