Documentation

EventSubscriber

An EventSubscriber knows himself what events he is interested in.

If an EventSubscriber is added to an EventManager, the manager invokes and registers the subscriber as a listener for all returned events.

Tags
link
www.doctrine-project.org
since
2.0
author

Guilherme Blanco guilhermeblanco@hotmail.com

author

Jonathan Wage jonwage@gmail.com

author

Roman Borschel roman@code-factory.org

Table of Contents

getSubscribedEvents()  : array<string|int, mixed>
Returns an array of events this subscriber wants to listen to.

Methods

getSubscribedEvents()

Returns an array of events this subscriber wants to listen to.

public getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results