PHP Class Kraken\Supervision\SupervisorPlugin

Inheritance: implements Kraken\Supervision\SupervisorPluginInterface
Show file Open project: kraken-php/framework

Protected Properties

Property Type Description
$registered boolean

Public Methods

Method Description
registerPlugin ( Kraken\Supervision\SupervisorInterface $supervisor )
unregisterPlugin ( Kraken\Supervision\SupervisorInterface $supervisor )

Protected Methods

Method Description
register ( Kraken\Supervision\SupervisorInterface $supervisor ) Define how plugin should be registered.
unregister ( Kraken\Supervision\SupervisorInterface $supervisor ) Define how plugin should be unregistered.

Private Methods

Method Description
throwException ( Erro\Error | Exceptio\Exception $ex )

Method Details

register() protected method

Define how plugin should be registered.
protected register ( Kraken\Supervision\SupervisorInterface $supervisor )
$supervisor Kraken\Supervision\SupervisorInterface

registerPlugin() public method

public registerPlugin ( Kraken\Supervision\SupervisorInterface $supervisor )
$supervisor Kraken\Supervision\SupervisorInterface

unregister() protected method

Define how plugin should be unregistered.
protected unregister ( Kraken\Supervision\SupervisorInterface $supervisor )
$supervisor Kraken\Supervision\SupervisorInterface

unregisterPlugin() public method

public unregisterPlugin ( Kraken\Supervision\SupervisorInterface $supervisor )
$supervisor Kraken\Supervision\SupervisorInterface

Property Details

$registered protected property

protected bool $registered
return boolean