PHP Interface Graze\Supervisor\SupervisorInterface

Afficher le fichier Open project: graze/supervisor Interface Usage Examples

Méthodes publiques

Méthode Description
ping ( ) : boolean
restart ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
start ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
stop ( integer $signal = null ) : Graze\Supervisor\SupervisorInterface
supervise ( float $delay = 0.001 ) : Graze\Supervisor\SupervisorInterface

Method Details

ping() public méthode

public ping ( ) : boolean
Résultat boolean

restart() public méthode

public restart ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
$fn callable
Résultat Graze\Supervisor\SupervisorInterface

start() public méthode

public start ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
$fn callable
Résultat Graze\Supervisor\SupervisorInterface

stop() public méthode

public stop ( integer $signal = null ) : Graze\Supervisor\SupervisorInterface
$signal integer
Résultat Graze\Supervisor\SupervisorInterface

supervise() public méthode

public supervise ( float $delay = 0.001 ) : Graze\Supervisor\SupervisorInterface
$delay float
Résultat Graze\Supervisor\SupervisorInterface