\Framework\DI\AttributeInject

Summary

Methods
Properties
Constants
__construct()
$id
$scope
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$scope

$scope : string

Type

string

Methods

__construct()

__construct(string|null  $id = null, string  $scope = Scope::SINGLETON) : mixed

Parameters

string|null $id

容器中的标识 ID (接口名或别名)

string $scope

作用域

Returns

mixed —