PHP Class LdapTools\Event\SymfonyEventDispatcher

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Event\EventDispatcherInterface
Datei anzeigen Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

Public Methods

Method Description
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null )
addListener ( $eventName, callable $listener )
addSubscriber ( LdapTools\Event\EventSubscriberInterface $subscriber )
dispatch ( LdapTools\Event\EventInterface $event )
getListeners ( $eventName )
hasListeners ( $eventName )
removeListener ( $eventName, callable $listener )

Method Details

__construct() public method

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

addListener() public method

public addListener ( $eventName, callable $listener )
$listener callable

addSubscriber() public method

public addSubscriber ( LdapTools\Event\EventSubscriberInterface $subscriber )
$subscriber LdapTools\Event\EventSubscriberInterface

dispatch() public method

public dispatch ( LdapTools\Event\EventInterface $event )
$event LdapTools\Event\EventInterface

getListeners() public method

public getListeners ( $eventName )

hasListeners() public method

public hasListeners ( $eventName )

removeListener() public method

public removeListener ( $eventName, callable $listener )
$listener callable

Property Details

$dispatcher protected_oe property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $dispatcher
return Symfony\Component\EventDispatcher\EventDispatcherInterface