Свойство | Тип | Описание | |
---|---|---|---|
$loaded | array | Services that are loaded (instantiated) | |
$services | array | Services |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
load ( string $name ) : |
Load a service object. It will overwrite any previous service with the same name. |
public __construct ( array $services = null ) : |
||
$services | array | |
Результат |
protected array $loaded | ||
Результат | array |