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

Class Event

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Direct known subclasses

Guzzle\Common\Event, Symfony\Component\EventDispatcher\GenericEvent
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/Event.php
Methods summary
public Boolean
# isPropagationStopped( )

Returns whether further event listeners should be triggered.

Returns whether further event listeners should be triggered.

Returns

Boolean
Whether propagation was already stopped for this event.

See

Symfony\Component\EventDispatcher\Event::stopPropagation()

Api

public
# stopPropagation( )

Stops the propagation of the event to further event listeners.

Stops the propagation of the event to further event listeners.

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().

Api

public
# setDispatcher( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )

Stores the EventDispatcher that dispatches this Event

Stores the EventDispatcher that dispatches this Event

Parameters

$dispatcher
Symfony\Component\EventDispatcher\EventDispatcherInterface
$dispatcher

Api

public Symfony\Component\EventDispatcher\EventDispatcherInterface
# getDispatcher( )

Returns the EventDispatcher that dispatches this Event

Returns the EventDispatcher that dispatches this Event

Returns

Symfony\Component\EventDispatcher\EventDispatcherInterface

Api

public string
# getName( )

Gets the event's name.

Gets the event's name.

Returns

string

Api

public
# setName( string $name )

Sets the event's name property.

Sets the event's name property.

Parameters

$name
string
$name The event name.

Api

php-coveralls API documentation generated by ApiGen 2.8.0