Property | Type | Description | |
---|---|---|---|
$async | boolean | ||
$channel | Kraken\Channel\ChannelInterface | ||
$receiver | string |
Method | Description | |
---|---|---|
__construct ( Kraken\Channel\ChannelInterface $channel, string $receiver ) | ||
__destruct ( ) | ||
isAsync ( ) |
Method | 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 | ||
return | 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 | |
return | mixed[] |
abstract protected config ( ) |
protected construct ( ) |
protected destruct ( ) |
protected failureMessage ( $exception, $message ) : string | ||
$exception | ||
$message | ||
return | string |
protected informServer ( $commandParent, $commandName, $commandParams = [] ) |
protected successMessage ( $message ) : string | ||
$message | ||
return | string |
protected ChannelInterface,Kraken\Channel $channel | ||
return | Kraken\Channel\ChannelInterface |