PHP 클래스 Jarves\JarvesEventDispatcher

파일 보기 프로젝트 열기: jarves/jarves

보호된 프로퍼티들

프로퍼티 타입 설명
$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