PHP Interface Kraken\Supervision\SupervisorAwareInterface

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

Public Methods

Method Description
getSupervisor ( ) : Kraken\Supervision\SupervisorInterface | null Get Supervisor of which object is aware of or null if no object is set.
setSupervisor ( Kraken\Supervision\SupervisorInterface $supervisor = null ) Set Supervisor of which object is aware of or delete it by setting it to null.

Method Details

getSupervisor() public method

Get Supervisor of which object is aware of or null if no object is set.
public getSupervisor ( ) : Kraken\Supervision\SupervisorInterface | null
return Kraken\Supervision\SupervisorInterface | null

setSupervisor() public method

Set Supervisor of which object is aware of or delete it by setting it to null.
public setSupervisor ( Kraken\Supervision\SupervisorInterface $supervisor = null )
$supervisor Kraken\Supervision\SupervisorInterface