Свойство | Type | Description | |
---|---|---|---|
$async | boolean | ||
$channel | Kraken\Channel\ChannelInterface | ||
$receiver | string |
Méthode | Description | |
---|---|---|
__construct ( Kraken\Channel\ChannelInterface $channel, string $receiver ) | ||
__destruct ( ) | ||
isAsync ( ) |
Méthode | Description | |
---|---|---|
cancelMessage ( $exception, $message ) : string | ||
command ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed[] | This method should contain command logic. | |
config ( ) | This method should contain command configuration. | |
configure ( ) | ||
construct ( ) | This method will be invoked during command construction. | |
destruct ( ) | This method will be invoked during command destruction. | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void | ||
failureMessage ( $exception, $message ) : string | ||
informServer ( $commandParent, $commandName, $commandParams = [] ) | ||
onCancel ( Erro\Error | Exceptio\Exception $ex ) : mixed | ||
onFailure ( Erro\Error | Exceptio\Exception $ex ) : mixed | ||
onMessage ( mixed $value ) : mixed | ||
onStart ( ) | ||
onStop ( ) | ||
onSuccess ( $value ) : mixed | ||
successData ( mixed[] $input ) | ||
successMessage ( $message ) : string | ||
validateCreateFlags ( integer | string $flags ) : integer | ||
validateDestroyFlags ( integer | string $flags ) : integer |
public __construct ( Kraken\Channel\ChannelInterface $channel, string $receiver ) | ||
$channel | Kraken\Channel\ChannelInterface | |
$receiver | string |
protected cancelMessage ( $exception, $message ) : string | ||
$exception | ||
$message | ||
Résultat | string |
abstract protected command ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed[] | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
Résultat | mixed[] |
abstract protected config ( ) |
protected construct ( ) |
protected destruct ( ) |
protected failureMessage ( $exception, $message ) : string | ||
$exception | ||
$message | ||
Résultat | string |
protected informServer ( $commandParent, $commandName, $commandParams = [] ) |
protected successMessage ( $message ) : string | ||
$message | ||
Résultat | string |
protected ChannelInterface,Kraken\Channel $channel | ||
Résultat | Kraken\Channel\ChannelInterface |