PHP Interface Kraken\Console\Client\ClientInterface

Inheritance: extends Kraken\Runtime\RuntimeContextInterface, extends Kraken\Core\CoreSetterAwareInterface, extends Kraken\Loop\LoopExtendedAwareInterface
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
onCommand ( callable $callback ) : EventListener Attach command event handler.
onStart ( callable $callback ) : EventListener Attach start event handler.
onStop ( callable $callback ) : EventListener Attach stop event handler.
start ( ) Start Client
stop ( ) Stop Client

Method Details

onCommand() public méthode

Attach command event handler.
public onCommand ( callable $callback ) : EventListener
$callback callable
Résultat Kraken\Event\EventListener

onStart() public méthode

Attach start event handler.
public onStart ( callable $callback ) : EventListener
$callback callable
Résultat Kraken\Event\EventListener

onStop() public méthode

Attach stop event handler.
public onStop ( callable $callback ) : EventListener
$callback callable
Résultat Kraken\Event\EventListener

start() public méthode

Start Client
public start ( )

stop() public méthode

Stop Client
public stop ( )