PHP Class Swarrot\Processor\InstantRetry\InstantRetryProcessor

Inheritance: implements Swarrot\Processor\ConfigurableInterface
Afficher le fichier Open project: swarrot/swarrot Class Usage Examples

Protected Properties

Свойство Type Description
$logger Psr\Log\LoggerInterface
$processor Swarrot\Processor\ProcessorInterface

Méthodes publiques

Méthode Description
__construct ( Swarrot\Processor\ProcessorInterface $processor, Psr\Log\LoggerInterface $logger = null )
process ( Swarrot\Broker\Message $message, array $options )
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )

Private Methods

Méthode Description
handleException ( Exception | Throwable $exception, Swarrot\Broker\Message $message, array $options )

Method Details

__construct() public méthode

public __construct ( Swarrot\Processor\ProcessorInterface $processor, Psr\Log\LoggerInterface $logger = null )
$processor Swarrot\Processor\ProcessorInterface
$logger Psr\Log\LoggerInterface

process() public méthode

public process ( Swarrot\Broker\Message $message, array $options )
$message Swarrot\Broker\Message
$options array

setDefaultOptions() public méthode

public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

Property Details

$logger protected_oe property

protected LoggerInterface,Psr\Log $logger
Résultat Psr\Log\LoggerInterface

$processor protected_oe property

protected ProcessorInterface,Swarrot\Processor $processor
Résultat Swarrot\Processor\ProcessorInterface