class ReclamationEventContainer

Class ReclamationEventContainer is injected as alligator.reclamation.event.container. This container is connecting ReclamationManager manager to other services

Methods

__construct(ContainerInterface $container)

ReclamationEventContainer constructor.

mixed|null
getLoggedUser()

Find logger user, null otherwise

mixed
getSearchParam()

Get search term from current request

dispatchSuccessfullyCreatedReclamation(Reclamation $reclamation)

Dispatch successfully created reclamation event. Hook on reclamation.created.event event

Details

at line 30
__construct(ContainerInterface $container)

ReclamationEventContainer constructor.

Parameters

ContainerInterface $container

at line 39
mixed|null getLoggedUser()

Find logger user, null otherwise

Return Value

mixed|null

at line 52
mixed getSearchParam()

Get search term from current request

Return Value

mixed

at line 63
ReclamationEvent|Event dispatchSuccessfullyCreatedReclamation(Reclamation $reclamation)

Dispatch successfully created reclamation event. Hook on reclamation.created.event event

Parameters

Reclamation $reclamation

Return Value

ReclamationEvent|Event