AcpListener
in package
implements
EventSubscriberInterface
Listener used to add an Access Control Policy to a request
Table of Contents
Interfaces
- EventSubscriberInterface
- An EventSubscriber knows himself what events he is interested in.
Methods
- getSubscribedEvents() : array<string|int, mixed>
- Returns an array of event names this subscriber wants to listen to.
- onCommandBeforePrepare() : mixed
- An event handler for constructing ACP definitions.
Methods
getSubscribedEvents()
Returns an array of event names this subscriber wants to listen to.
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed> —The event names to listen to
onCommandBeforePrepare()
An event handler for constructing ACP definitions.
public
onCommandBeforePrepare(Event $event) : mixed
Parameters
- $event : Event
-
The event to respond to.