[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Event/ -> SubscriberInterface.php (summary)

(no description)

File Size: 34 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SubscriberInterface:: (1 method):
  getEvents()


Interface: SubscriberInterface  - X-Ref

SubscriberInterface provides an array of events to an
EventEmitterInterface when it is registered. The emitter then binds the
listeners specified by the EventSubscriber.

This interface is based on the SubscriberInterface of the Symfony.
getEvents()   X-Ref
Returns an array of event names this subscriber wants to listen to.

The returned array keys MUST map to an event name. Each array value
MUST be an array in which the first element is the name of a function
on the EventSubscriber OR an array of arrays in the aforementioned
format. The second element in the array is optional, and if specified,
designates the event priority.

For example, the following are all valid:

- ['eventName' => ['methodName']]
- ['eventName' => ['methodName', $priority]]
- ['eventName' => [['methodName'], ['otherMethod']]
- ['eventName' => [['methodName'], ['otherMethod', $priority]]
- ['eventName' => [['methodName', $priority], ['otherMethod', $priority]]

return: array



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1