PHP Class Swarrot\Processor\MemoryLimit\MemoryLimitProcessor

Inheritance: implements Swarrot\Processor\ConfigurableInterface
Show file Open project: swarrot/swarrot

Public Methods

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 Details

__construct() public method

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

process() public method

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

setDefaultOptions() public method

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