프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$instances | array | The map of instances in the registry. | |
$options | array | List of options by alias passed to get. |
메소드 | 설명 | |
---|---|---|
clear ( ) : void | Clears the registry of configuration and instances. | |
exists ( string $alias ) : boolean | Check to see if an instance exists in the registry. | |
get ( string $alias, array $options = [] ) : |
Get/Create an instance from the registry. | |
remove ( string $alias ) : void | Removes an instance from the registry. | |
set ( string $alias, Type $object ) : |
Set an instance. |
protected static array $instances | ||
리턴 | array |
protected static array $options | ||
리턴 | array |