Property | Type | Description | |
---|---|---|---|
$loaded | array | Services that are loaded (instantiated) | |
$services | array | Services |
Method | Description | |
---|---|---|
__construct ( array $services = null ) : |
Constructor | |
get ( string $name ) : mixed | Get a service object. | |
remove ( string $name ) : |
Remove a service | |
set ( string $name, mixed $call, mixed $params = null ) : |
Set a service object. It will overwrite any previous service with the same name. |
Method | Description | |
---|---|---|
load ( string $name ) : |
Load a service object. It will overwrite any previous service with the same name. |
public __construct ( array $services = null ) : |
||
$services | array | |
return |
protected array $loaded | ||
return | array |