PHP Класс Jarves\JarvesEventDispatcher

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$attachedEvents array

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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 attachEvent ( Event $event )
$event Jarves\Configuration\Event

call() публичный Метод

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

detachEvents() публичный Метод

public detachEvents ( )

getAttachedEvents() публичный Метод

public getAttachedEvents ( ) : array
Результат array

isCallable() публичный Метод

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
Результат boolean

registerBundleEvents() публичный Метод

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

Описание свойств

$attachedEvents защищенное свойство

protected array $attachedEvents
Результат array