Property | Type | Description | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | ||
$processor | Swarrot\Processor\ProcessorInterface | ||
$shouldExit | boolean |
Method | Description | |
---|---|---|
__construct ( Swarrot\Processor\ProcessorInterface $processor, Psr\Log\LoggerInterface $logger = null ) | ||
initialize ( array $options ) | ||
process ( Swarrot\Broker\Message $message, array $options ) | ||
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
sleep ( array $options ) |
Method | Description | |
---|---|---|
shouldStop ( ) : boolean | shouldStop. |
public __construct ( Swarrot\Processor\ProcessorInterface $processor, Psr\Log\LoggerInterface $logger = null ) | ||
$processor | Swarrot\Processor\ProcessorInterface | Processor |
$logger | Psr\Log\LoggerInterface | Logger |
public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolver |
protected ProcessorInterface,Swarrot\Processor $processor | ||
return | Swarrot\Processor\ProcessorInterface |