ExceptionProductSubscriber
implements
EventSubscriberInterface
Table of Contents
Interfaces
- EventSubscriberInterface
Properties
-
$entityManager
: EntityManagerInterface
-
$requestStack
: RequestStack
Methods
-
__construct()
: mixed
-
getSubscribedEvents()
: array<string|int, mixed>
-
onFormPostSubmit()
: void
$entityManager
private
EntityManagerInterface
$entityManager
$requestStack
private
RequestStack
$requestStack
__construct()
public
__construct(RequestStack $requestStack, EntityManagerInterface $entityManager) : mixed
Parameters
-
$requestStack
: RequestStack
-
-
$entityManager
: EntityManagerInterface
-
getSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>
onFormPostSubmit()
public
onFormPostSubmit(FormEvent $event) : void
Parameters
-
$event
: FormEvent
-