Property | Type | Description | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | ||
$processor | Swarrot\Processor\ProcessorInterface |
Method | Description | |
---|---|---|
__construct ( Swarrot\Processor\ProcessorInterface $processor, Psr\Log\LoggerInterface $logger = null ) | ||
process ( Swarrot\Broker\Message $message, array $options ) | ||
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) |
Method | Description | |
---|---|---|
handleException ( Exception | Throwable $exception, Swarrot\Broker\Message $message, array $options ) |
public __construct ( Swarrot\Processor\ProcessorInterface $processor, Psr\Log\LoggerInterface $logger = null ) | ||
$processor | Swarrot\Processor\ProcessorInterface | |
$logger | Psr\Log\LoggerInterface |
public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolver |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |