Свойство | Тип | Описание | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | ||
$processor | Swarrot\Processor\ProcessorInterface | ||
$shouldExit | boolean |
Метод | Описание | |
---|---|---|
__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 ) |
Метод | Описание | |
---|---|---|
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 LoggerInterface,Psr\Log $logger | ||
Результат | Psr\Log\LoggerInterface |
protected ProcessorInterface,Swarrot\Processor $processor | ||
Результат | Swarrot\Processor\ProcessorInterface |