PHP Interface Graze\Supervisor\Handler\HandlerInterface

Exibir arquivo Open project: graze/supervisor Interface Usage Examples

Public Methods

Method Description
handleFail ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor, Exception $exception = null ) : boolean
handlePass ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor ) : boolean

Method Details

handleFail() public method

public handleFail ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor, Exception $exception = null ) : boolean
$retries integer
$supervisor Graze\Supervisor\SupervisorInterface
$exception Exception
return boolean

handlePass() public method

public handlePass ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor ) : boolean
$retries integer
$supervisor Graze\Supervisor\SupervisorInterface
return boolean