프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 ProcessorInterface,Swarrot\Processor $processor | ||
리턴 | Swarrot\Processor\ProcessorInterface |