Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • ContainerAwareEventDispatcher
  • Event
  • EventDispatcher
  • GenericEvent
  • ImmutableEventDispatcher

Interfaces

  • EventDispatcherInterface
  • EventSubscriberInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Interface EventSubscriberInterface

An EventSubscriber knows himself what events he is interested in. If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() and registers the subscriber as a listener for all returned events.

Direct known implementers

Guzzle\Http\RedirectPlugin, Guzzle\Plugin\Async\AsyncPlugin, Guzzle\Plugin\Md5\CommandContentMd5Plugin, Guzzle\Plugin\Md5\Md5ValidatorPlugin, Guzzle\Plugin\Mock\MockPlugin, Guzzle\Plugin\Oauth\OauthPlugin, Guzzle\Plugin\Backoff\BackoffLogger, Guzzle\Plugin\Backoff\BackoffPlugin, Guzzle\Plugin\Cache\CachePlugin, Guzzle\Plugin\Cookie\CookiePlugin, Guzzle\Plugin\CurlAuth\CurlAuthPlugin, Guzzle\Plugin\ErrorResponse\ErrorResponsePlugin, Guzzle\Plugin\History\HistoryPlugin, Guzzle\Plugin\Log\LogPlugin
Namespace: Symfony\Component\EventDispatcher
Author: Guilherme Blanco <guilhermeblanco@hotmail.com>
Author: Jonathan Wage <jonwage@gmail.com>
Author: Roman Borschel <roman@code-factory.org>
Author: Bernhard Schussek <bschussek@gmail.com>
Api
Located at event-dispatcher/Symfony/Component/EventDispatcher/EventSubscriberInterface.php
Methods summary
public static array
# getSubscribedEvents( )

Returns an array of event names this subscriber wants to listen to.

Returns an array of event names this subscriber wants to listen to.

The array keys are event names and the value can be:
* The method name to call (priority defaults to 0) * An array composed of the method name to call and the priority * An array of arrays composed of the method names to call and respective priorities, or 0 if unset

For instance:
* array('eventName' => 'methodName') * array('eventName' => array('methodName', $priority)) * array('eventName' => array(array('methodName1', $priority), array('methodName2'))

Returns

array
The event names to listen to

Api

php-coveralls API documentation generated by ApiGen 2.8.0