class TicketEventContainer

Class TicketEventContainer is injected as alligator.ticket.event.container. This container is connecting TicketManager to other services

Methods

__construct(ContainerInterface $container)

No description

User|null
getLoggedUser()

Retrieve logged user. NULL otherwise

sendMailOnTicketCreate(Ticket $ticket)

Send mail on ticket create

Translator
getTranslator()

Retrieve translator

mixed
getSearchParam()

Retrieve search parameters from request

getReferenceForProduct(int $id)

Retrieve reference for product

Details

at line 32
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 42
User|null getLoggedUser()

Retrieve logged user. NULL otherwise

Return Value

User|null

at line 60
sendMailOnTicketCreate(Ticket $ticket)

Send mail on ticket create

Parameters

Ticket $ticket

Exceptions

Twig_Error_Loader
Twig_Error_Runtime
Twig_Error_Syntax

at line 97
Translator getTranslator()

Retrieve translator

Return Value

Translator

at line 107
mixed getSearchParam()

Retrieve search parameters from request

Return Value

mixed

at line 119
Product getReferenceForProduct(int $id)

Retrieve reference for product

Parameters

int $id

Return Value

Product