PHP Class RabbitMQBundle\Services\RabbitMQ\PDFGeneratorConsumer

Author: Alfonso M. GarcĂ­a Astorga ([email protected])
Inheritance: implements OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface
Datei anzeigen Open project: alfonsomga/symfony.demo.on.roids

Protected Properties

Property Type Description
$container Symfony\Component\DependencyInjection\ContainerInterface
$serializer JMS\Serializer\Serializer
$templating Symfony\Bundle\TwigBundle\TwigEngine

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, TwigEngine $templating, JMS\Serializer\Serializer $serializer ) PDFGeneratorConsumer constructor.
execute ( PhpAmqpLib\Message\AMQPMessage $msg ) : boolean

Method Details

__construct() public method

PDFGeneratorConsumer constructor.
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, TwigEngine $templating, JMS\Serializer\Serializer $serializer )
$container Symfony\Component\DependencyInjection\ContainerInterface
$templating Symfony\Bundle\TwigBundle\TwigEngine
$serializer JMS\Serializer\Serializer

execute() public method

public execute ( PhpAmqpLib\Message\AMQPMessage $msg ) : boolean
$msg PhpAmqpLib\Message\AMQPMessage
return boolean

Property Details

$container protected_oe property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
return Symfony\Component\DependencyInjection\ContainerInterface

$serializer protected_oe property

protected Serializer,JMS\Serializer $serializer
return JMS\Serializer\Serializer

$templating protected_oe property

protected TwigEngine,Symfony\Bundle\TwigBundle $templating
return Symfony\Bundle\TwigBundle\TwigEngine