PHP 클래스 Knp\Bundle\KnpBundlesBundle\Producer\ExecutorProducer

This producer will not send anything to rabbitmq but will execute instantly the consumer
상속: implements Knp\Bundle\KnpBundlesBundle\Producer\ProducerInterface
파일 보기 프로젝트 열기: KnpLabs/KnpBundles 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface $consumer )
publish ( $msgBody, $routingKey = '' )

메소드 상세

__construct() 공개 메소드

public __construct ( OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface $consumer )
$consumer OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface

publish() 공개 메소드

public publish ( $msgBody, $routingKey = '' )