PHP Interface Kraken\Supervision\SupervisorPluginInterface

ファイルを表示 Open project: kraken-php/framework

Public Methods

Method Description
registerPlugin ( Kraken\Supervision\SupervisorInterface $supervisor ) : Kraken\Supervision\SupervisorPluginInterface Register plugin to Supervisor.
unregisterPlugin ( Kraken\Supervision\SupervisorInterface $supervisor ) : Kraken\Supervision\SupervisorPluginInterface Unregister plugin from Supervisor.

Method Details

registerPlugin() public method

Register plugin to Supervisor.
public registerPlugin ( Kraken\Supervision\SupervisorInterface $supervisor ) : Kraken\Supervision\SupervisorPluginInterface
$supervisor Kraken\Supervision\SupervisorInterface
return Kraken\Supervision\SupervisorPluginInterface

unregisterPlugin() public method

Unregister plugin from Supervisor.
public unregisterPlugin ( Kraken\Supervision\SupervisorInterface $supervisor ) : Kraken\Supervision\SupervisorPluginInterface
$supervisor Kraken\Supervision\SupervisorInterface
return Kraken\Supervision\SupervisorPluginInterface