Свойство | Тип | Описание | |
---|---|---|---|
$callables | |||
$instances | |||
$services |
Метод | Описание | |
---|---|---|
__call ( $id, $args = [] ) | ||
__callStatic ( $id, $args = [] ) | ||
__get ( $id ) | ||
bind ( string $id, Closure $serviceGenerator ) | Binds the service generator and resolves it by its id | |
extend ( string $id, Closure $callable ) | Binds the callable function and executes it by its id | |
getInstance ( ) : object | Instantiate Zit or the extending, statically called class | |
stash ( string $id, object $serviceInstance ) | Stashes away a service instance and resolves it by its id |
Метод | Описание | |
---|---|---|
__clone ( ) | ||
__construct ( ) | ||
pop ( $id, $args = [] ) |
public static getInstance ( ) : object | ||
Результат | object |