PHP Class RabbitMQBundle\Services\PDFGenerator

Author: Alfonso M. García Astorga ([email protected])
Mostra file Open project: alfonsomga/symfony.demo.on.roids

Protected Properties

Property Type Description
$container Symfony\Component\DependencyInjection\ContainerInterface
$post AppBundle\Entity\Post
$serializer

Public Methods

Method Description
__construct ( JMS\Serializer\Serializer $serializer, Symfony\Component\DependencyInjection\ContainerInterface $container ) PDFGenerator constructor.
checkExistingUpdatedPdf ( ) : boolean
generateNewPdf ( ) : array
generateUniquePdfName ( ) : string
setPost ( Post $post )

Method Details

__construct() public method

PDFGenerator constructor.
public __construct ( JMS\Serializer\Serializer $serializer, Symfony\Component\DependencyInjection\ContainerInterface $container )
$serializer JMS\Serializer\Serializer
$container Symfony\Component\DependencyInjection\ContainerInterface

checkExistingUpdatedPdf() public method

generateNewPdf() public method

public generateNewPdf ( ) : array
return array

generateUniquePdfName() public method

public generateUniquePdfName ( ) : string
return string

setPost() public method

public setPost ( Post $post )
$post AppBundle\Entity\Post

Property Details

$container protected_oe property

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

$post protected_oe property

protected Post,AppBundle\Entity $post
return AppBundle\Entity\Post

$serializer protected_oe property

protected $serializer