Property | Type | Description | |
---|---|---|---|
$instances | array | The map of instances in the registry. | |
$options | array | List of options by alias passed to get. |
Method | Description | |
---|---|---|
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 | ||
return | array |
protected static array $options | ||
return | array |