Open Journal Systems
3.3.0
|
Static Public Member Functions | |
static | getSubscribedEvents () |
static | getSubscribedEvents () |
An EventSubscriber knows himself what events he is interested in. If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes getSubscribedEvents and registers the subscriber as a listener for all returned events.
Definition at line 25 of file lib/vendor/symfony/event-dispatcher/EventSubscriberInterface.php.
|
static |
Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
Implemented in Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithMultipleListeners, Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithMultipleListeners, Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithPriorities, Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithPriorities, Symfony\Component\EventDispatcher\Tests\TestEventSubscriber, Symfony\Component\EventDispatcher\Tests\TestEventSubscriber, Symfony\Component\EventDispatcher\Tests\SubscriberService, Symfony\Component\EventDispatcher\Tests\SubscriberService, Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber, Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber, Symfony\Component\EventDispatcher\Tests\DependencyInjection\SubscriberService, Symfony\Component\EventDispatcher\Tests\DependencyInjection\SubscriberService, Guzzle\Plugin\Cache\CachePlugin, Guzzle\Plugin\Log\LogPlugin, Guzzle\Plugin\Backoff\BackoffPlugin, Guzzle\Plugin\Oauth\OauthPlugin, Guzzle\Plugin\Mock\MockPlugin, Guzzle\Plugin\Backoff\BackoffLogger, Guzzle\Plugin\Md5\Md5ValidatorPlugin, Guzzle\Plugin\Md5\CommandContentMd5Plugin, Guzzle\Http\RedirectPlugin, Guzzle\Tests\Plugin\Backoff\BackoffPluginTest, Guzzle\Plugin\CurlAuth\CurlAuthPlugin, Guzzle\Plugin\Cookie\CookiePlugin, Guzzle\Plugin\History\HistoryPlugin, Guzzle\Plugin\ErrorResponse\ErrorResponsePlugin, Guzzle\Plugin\Async\AsyncPlugin, and Guzzle\Tests\Mock\MockObserver.
Referenced by Symfony\Component\EventDispatcher\EventDispatcher\addSubscriber(), and Symfony\Component\EventDispatcher\EventDispatcher\removeSubscriber().
|
static |
Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
Implemented in Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithMultipleListeners, Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithMultipleListeners, Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithPriorities, Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithPriorities, Symfony\Component\EventDispatcher\Tests\TestEventSubscriber, Symfony\Component\EventDispatcher\Tests\TestEventSubscriber, Symfony\Component\EventDispatcher\Tests\SubscriberService, Symfony\Component\EventDispatcher\Tests\SubscriberService, Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber, Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber, Symfony\Component\EventDispatcher\Tests\DependencyInjection\SubscriberService, Symfony\Component\EventDispatcher\Tests\DependencyInjection\SubscriberService, Guzzle\Plugin\Cache\CachePlugin, Guzzle\Plugin\Log\LogPlugin, Guzzle\Plugin\Backoff\BackoffPlugin, Guzzle\Plugin\Oauth\OauthPlugin, Guzzle\Plugin\Mock\MockPlugin, Guzzle\Plugin\Backoff\BackoffLogger, Guzzle\Plugin\Md5\Md5ValidatorPlugin, Guzzle\Plugin\Md5\CommandContentMd5Plugin, Guzzle\Http\RedirectPlugin, Guzzle\Tests\Plugin\Backoff\BackoffPluginTest, Guzzle\Plugin\CurlAuth\CurlAuthPlugin, Guzzle\Plugin\Cookie\CookiePlugin, Guzzle\Plugin\History\HistoryPlugin, Guzzle\Plugin\ErrorResponse\ErrorResponsePlugin, Guzzle\Plugin\Async\AsyncPlugin, and Guzzle\Tests\Mock\MockObserver.