Свойство | Тип | Описание | |
---|---|---|---|
$aliases | Default aliases | ||
$controller | Zend\Stdlib\DispatchableInterface | ||
$factories | Default factories | ||
$instanceOf | string | Plugins must be of this type. |
Метод | Описание | |
---|---|---|
get ( string $name, array $options = null ) : Zend\Stdlib\DispatchableInterface | Retrieve a registered instance | |
getController ( ) : null | Zend\Stdlib\DispatchableInterface | Retrieve controller instance | |
injectController ( object $plugin ) : void | Inject a helper instance with the registered controller | |
setController ( Zend\Stdlib\DispatchableInterface $controller ) : |
Set controller | |
validate ( $plugin ) | Validate a plugin (v3) | |
validatePlugin ( $plugin ) | Validate a plugin (v2) |
public getController ( ) : null | Zend\Stdlib\DispatchableInterface | ||
Результат | null | Zend\Stdlib\DispatchableInterface |
public injectController ( object $plugin ) : void | ||
$plugin | object | |
Результат | void |
public setController ( Zend\Stdlib\DispatchableInterface $controller ) : |
||
$controller | Zend\Stdlib\DispatchableInterface | |
Результат |
protected DispatchableInterface,Zend\Stdlib $controller | ||
Результат | Zend\Stdlib\DispatchableInterface |
protected string $instanceOf | ||
Результат | string |