PHP Class Jarves\JarvesEventDispatcher

Afficher le fichier Open project: jarves/jarves

Protected Properties

Свойство Type Description
$attachedEvents array

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\DependencyInjection\ContainerInterface $container, ConditionOperator $conditionOperator, Cacher $cacher )
attachEvent ( Event $event )
call ( Event $eventConfig, Symfony\Component\EventDispatcher\GenericEvent $event )
detachEvents ( )
getAttachedEvents ( ) : array
isCallable ( Event $eventConfig, Symfony\Component\EventDispatcher\GenericEvent $event ) : boolean Checks whether a eventConfig is appropriate to be called (subject fits, condition fits)
registerBundleEvents ( Configs $configs )

Method Details

__construct() public méthode

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\DependencyInjection\ContainerInterface $container, ConditionOperator $conditionOperator, Cacher $cacher )
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$container Symfony\Component\DependencyInjection\ContainerInterface
$conditionOperator ConditionOperator
$cacher Jarves\Cache\Cacher

attachEvent() public méthode

public attachEvent ( Event $event )
$event Jarves\Configuration\Event

call() public méthode

public call ( Event $eventConfig, Symfony\Component\EventDispatcher\GenericEvent $event )
$eventConfig Jarves\Configuration\Event
$event Symfony\Component\EventDispatcher\GenericEvent

detachEvents() public méthode

public detachEvents ( )

getAttachedEvents() public méthode

public getAttachedEvents ( ) : array
Résultat array

isCallable() public méthode

Checks whether a eventConfig is appropriate to be called (subject fits, condition fits)
public isCallable ( Event $eventConfig, Symfony\Component\EventDispatcher\GenericEvent $event ) : boolean
$eventConfig Jarves\Configuration\Event
$event Symfony\Component\EventDispatcher\GenericEvent
Résultat boolean

registerBundleEvents() public méthode

public registerBundleEvents ( Configs $configs )
$configs Jarves\Configuration\Configs

Property Details

$attachedEvents protected_oe property

protected array $attachedEvents
Résultat array