Свойство | Type | Description | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | ||
$processor | Swarrot\Processor\ProcessorInterface | ||
$shouldExit | boolean |
Méthode | 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 ) |
Méthode | 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 LoggerInterface,Psr\Log $logger | ||
Résultat | Psr\Log\LoggerInterface |
protected ProcessorInterface,Swarrot\Processor $processor | ||
Résultat | Swarrot\Processor\ProcessorInterface |