SYMBOL INDEX (245 symbols across 22 files) FILE: Attribute/AsEventListener.php class AsEventListener (line 19) | #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Att... method __construct (line 28) | public function __construct( FILE: Debug/TraceableEventDispatcher.php class TraceableEventDispatcher (line 31) | class TraceableEventDispatcher implements EventDispatcherInterface, Rese... method __construct (line 41) | public function __construct( method addListener (line 50) | public function addListener(string $eventName, callable|array $listene... method addSubscriber (line 55) | public function addSubscriber(EventSubscriberInterface $subscriber): void method removeListener (line 60) | public function removeListener(string $eventName, callable|array $list... method removeSubscriber (line 75) | public function removeSubscriber(EventSubscriberInterface $subscriber)... method getListeners (line 80) | public function getListeners(?string $eventName = null): array method getListenerPriority (line 85) | public function getListenerPriority(string $eventName, callable|array ... method hasListeners (line 100) | public function hasListeners(?string $eventName = null): bool method dispatch (line 105) | public function dispatch(object $event, ?string $eventName = null): ob... method getCalledListeners (line 143) | public function getCalledListeners(?Request $request = null): array method getNotCalledListeners (line 161) | public function getNotCalledListeners(?Request $request = null): array method getOrphanedEvents (line 203) | public function getOrphanedEvents(?Request $request = null): array method reset (line 216) | public function reset(): void method __call (line 229) | public function __call(string $method, array $arguments): mixed method beforeDispatch (line 237) | protected function beforeDispatch(string $eventName, object $event): void method afterDispatch (line 244) | protected function afterDispatch(string $eventName, object $event): void method preProcess (line 248) | private function preProcess(string $eventName): void method postProcess (line 266) | private function postProcess(string $eventName): void method sortNotCalledListeners (line 301) | private function sortNotCalledListeners(array $a, array $b): int method getListenersWithPriority (line 326) | private function getListenersWithPriority(): array method getListenersWithoutPriority (line 343) | private function getListenersWithoutPriority(): array FILE: Debug/WrappedListener.php class WrappedListener (line 22) | final class WrappedListener method __construct (line 34) | public function __construct( method getWrappedListener (line 73) | public function getWrappedListener(): callable|array method wasCalled (line 78) | public function wasCalled(): bool method stoppedPropagation (line 83) | public function stoppedPropagation(): bool method getPretty (line 88) | public function getPretty(): string method getInfo (line 93) | public function getInfo(string $eventName): array method __invoke (line 105) | public function __invoke(object $event, string $eventName, EventDispat... method parseListener (line 127) | private function parseListener(array $listener): array FILE: DependencyInjection/AddEventAliasesPass.php class AddEventAliasesPass (line 22) | class AddEventAliasesPass implements CompilerPassInterface method __construct (line 24) | public function __construct( method process (line 29) | public function process(ContainerBuilder $container): void FILE: DependencyInjection/RegisterListenersPass.php class RegisterListenersPass (line 26) | class RegisterListenersPass implements CompilerPassInterface method setHotPathEvents (line 34) | public function setHotPathEvents(array $hotPathEvents): static method setNoPreloadEvents (line 44) | public function setNoPreloadEvents(array $noPreloadEvents): static method process (line 51) | public function process(ContainerBuilder $container): void method getEventFromTypeDeclaration (line 181) | private function getEventFromTypeDeclaration(ContainerBuilder $contain... class ExtractingEventDispatcher (line 218) | class ExtractingEventDispatcher extends EventDispatcher implements Event... method addListener (line 225) | public function addListener(string $eventName, callable|array $listene... method getSubscribedEvents (line 230) | public static function getSubscribedEvents(): array FILE: EventDispatcher.php class EventDispatcher (line 32) | class EventDispatcher implements EventDispatcherInterface method __construct (line 38) | public function __construct() method dispatch (line 45) | public function dispatch(object $event, ?string $eventName = null): ob... method getListeners (line 62) | public function getListeners(?string $eventName = null): array method getListenerPriority (line 85) | public function getListenerPriority(string $eventName, callable|array ... method hasListeners (line 111) | public function hasListeners(?string $eventName = null): bool method addListener (line 126) | public function addListener(string $eventName, callable|array $listene... method removeListener (line 132) | public function removeListener(string $eventName, callable|array $list... method addSubscriber (line 160) | public function addSubscriber(EventSubscriberInterface $subscriber): void method removeSubscriber (line 175) | public function removeSubscriber(EventSubscriberInterface $subscriber)... method callListeners (line 198) | protected function callListeners(iterable $listeners, string $eventNam... method sortListeners (line 213) | private function sortListeners(string $eventName): void method optimizeListeners (line 232) | private function optimizeListeners(string $eventName): array FILE: EventDispatcherInterface.php type EventDispatcherInterface (line 23) | interface EventDispatcherInterface extends ContractsEventDispatcherInter... method addListener (line 31) | public function addListener(string $eventName, callable $listener, int... method addSubscriber (line 39) | public function addSubscriber(EventSubscriberInterface $subscriber): v... method removeListener (line 44) | public function removeListener(string $eventName, callable $listener):... method removeSubscriber (line 46) | public function removeSubscriber(EventSubscriberInterface $subscriber)... method getListeners (line 53) | public function getListeners(?string $eventName = null): array; method getListenerPriority (line 60) | public function getListenerPriority(string $eventName, callable $liste... method hasListeners (line 65) | public function hasListeners(?string $eventName = null): bool; FILE: EventSubscriberInterface.php type EventSubscriberInterface (line 25) | interface EventSubscriberInterface method getSubscribedEvents (line 48) | public static function getSubscribedEvents(): array; FILE: GenericEvent.php class GenericEvent (line 26) | class GenericEvent extends Event implements \ArrayAccess, \IteratorAggre... method __construct (line 34) | public function __construct( method getSubject (line 43) | public function getSubject(): mixed method getArgument (line 53) | public function getArgument(string $key): mixed method setArgument (line 67) | public function setArgument(string $key, mixed $value): static method getArguments (line 77) | public function getArguments(): array method setArguments (line 87) | public function setArguments(array $args = []): static method hasArgument (line 97) | public function hasArgument(string $key): bool method offsetGet (line 109) | public function offsetGet(mixed $key): mixed method offsetSet (line 119) | public function offsetSet(mixed $key, mixed $value): void method offsetUnset (line 129) | public function offsetUnset(mixed $key): void method offsetExists (line 141) | public function offsetExists(mixed $key): bool method getIterator (line 151) | public function getIterator(): \ArrayIterator FILE: ImmutableEventDispatcher.php class ImmutableEventDispatcher (line 19) | class ImmutableEventDispatcher implements EventDispatcherInterface method __construct (line 21) | public function __construct( method dispatch (line 26) | public function dispatch(object $event, ?string $eventName = null): ob... method addListener (line 31) | public function addListener(string $eventName, callable|array $listene... method addSubscriber (line 36) | public function addSubscriber(EventSubscriberInterface $subscriber): n... method removeListener (line 41) | public function removeListener(string $eventName, callable|array $list... method removeSubscriber (line 46) | public function removeSubscriber(EventSubscriberInterface $subscriber)... method getListeners (line 51) | public function getListeners(?string $eventName = null): array method getListenerPriority (line 56) | public function getListenerPriority(string $eventName, callable|array ... method hasListeners (line 61) | public function hasListeners(?string $eventName = null): bool FILE: Tests/ChildEventDispatcherTest.php class ChildEventDispatcherTest (line 16) | class ChildEventDispatcherTest extends EventDispatcherTest method createEventDispatcher (line 18) | protected function createEventDispatcher() class ChildEventDispatcher (line 24) | class ChildEventDispatcher extends EventDispatcher FILE: Tests/Debug/TraceableEventDispatcherTest.php class TraceableEventDispatcherTest (line 23) | class TraceableEventDispatcherTest extends TestCase method testAddRemoveListener (line 25) | public function testAddRemoveListener() method testGetListeners (line 39) | public function testGetListeners() method testHasListeners (line 48) | public function testHasListeners() method testGetListenerPriority (line 61) | public function testGetListenerPriority() method testGetListenerPriorityWhileDispatching (line 78) | public function testGetListenerPriorityWhileDispatching() method testAddRemoveSubscriber (line 92) | public function testAddRemoveSubscriber() method testGetCalledListeners (line 108) | public function testGetCalledListeners() method testGetNotCalledClosureListeners (line 128) | public function testGetNotCalledClosureListeners() method testClearCalledListeners (line 140) | public function testClearCalledListeners() method testDispatchAfterReset (line 155) | public function testDispatchAfterReset() method testGetCalledListenersNested (line 167) | public function testGetCalledListenersNested() method testItReturnsNoOrphanedEventsWhenCreated (line 181) | public function testItReturnsNoOrphanedEventsWhenCreated() method testItReturnsOrphanedEventsAfterDispatch (line 188) | public function testItReturnsOrphanedEventsAfterDispatch() method testItDoesNotReturnHandledEvents (line 197) | public function testItDoesNotReturnHandledEvents() method testLogger (line 206) | public function testLogger() method testLoggerWithStoppedEvent (line 231) | public function testLoggerWithStoppedEvent() method testDispatchCallListeners (line 261) | public function testDispatchCallListeners() method testDispatchNested (line 275) | public function testDispatchNested() method testDispatchReusedEventNested (line 295) | public function testDispatchReusedEventNested() method testListenerCanRemoveItselfWhenExecuted (line 311) | public function testListenerCanRemoveItselfWhenExecuted() method testClearOrphanedEvents (line 324) | public function testClearOrphanedEvents() class EventSubscriber (line 336) | class EventSubscriber implements EventSubscriberInterface method getSubscribedEvents (line 338) | public static function getSubscribedEvents(): array FILE: Tests/Debug/WrappedListenerTest.php class WrappedListenerTest (line 22) | class WrappedListenerTest extends TestCase method testListenerDescription (line 24) | #[DataProvider('provideListenersToDescribe')] method provideListenersToDescribe (line 32) | public static function provideListenersToDescribe() method testStopwatchEventIsStoppedWhenListenerThrows (line 48) | public function testStopwatchEventIsStoppedWhenListenerThrows() class FooListener (line 68) | class FooListener method listen (line 70) | public function listen() method __invoke (line 74) | public function __invoke() method listenStatic (line 78) | public static function listenStatic() FILE: Tests/DependencyInjection/RegisterListenersPassTest.php class RegisterListenersPassTest (line 31) | class RegisterListenersPassTest extends TestCase method testEventSubscriberWithoutInterface (line 37) | public function testEventSubscriberWithoutInterface() method testValidEventSubscriber (line 49) | public function testValidEventSubscriber() method testAliasedEventSubscriber (line 72) | public function testAliasedEventSubscriber() method testAbstractEventListener (line 107) | public function testAbstractEventListener() method testAbstractEventSubscriber (line 119) | public function testAbstractEventSubscriber() method testEventSubscriberResolvableClassName (line 131) | public function testEventSubscriberResolvableClassName() method testHotPathEvents (line 156) | public function testHotPathEvents() method testNoPreloadEvents (line 168) | public function testNoPreloadEvents() method testEventSubscriberUnresolvableClassName (line 189) | public function testEventSubscriberUnresolvableClassName() method testInvokableEventListener (line 201) | public function testInvokableEventListener() method testItThrowsAnExceptionIfTagIsMissingMethodAndClassHasNoValidMethod (line 261) | public function testItThrowsAnExceptionIfTagIsMissingMethodAndClassHas... method testTaggedInvokableEventListener (line 275) | public function testTaggedInvokableEventListener() method testTaggedMultiEventListener (line 299) | public function testTaggedMultiEventListener() method testTaggedMethodUnionTypeEventListener (line 348) | public function testTaggedMethodUnionTypeEventListener() method testAliasedEventListener (line 382) | public function testAliasedEventListener() method testOmitEventNameOnTypedListener (line 423) | public function testOmitEventNameOnTypedListener() method testOmitEventNameOnUntypedListener (line 456) | public function testOmitEventNameOnUntypedListener() method testOmitEventNameAndMethodOnUntypedListener (line 469) | public function testOmitEventNameAndMethodOnUntypedListener() method testOmitEventNameAndMethodOnGenericListener (line 482) | public function testOmitEventNameAndMethodOnGenericListener() method testOmitEventNameOnSubscriber (line 495) | public function testOmitEventNameOnSubscriber() method createContainerBuilder (line 530) | private function createContainerBuilder(): ContainerBuilder class SubscriberService (line 542) | class SubscriberService implements EventSubscriberInterface method getSubscribedEvents (line 544) | public static function getSubscribedEvents(): array class InvokableListenerService (line 552) | class InvokableListenerService method __invoke (line 554) | public function __invoke() method onEvent (line 558) | public function onEvent() class AliasedSubscriber (line 563) | final class AliasedSubscriber implements EventSubscriberInterface method getSubscribedEvents (line 565) | public static function getSubscribedEvents(): array class AliasedEvent (line 574) | final class AliasedEvent class TypedListener (line 578) | final class TypedListener method __invoke (line 580) | public function __invoke(AliasedEvent $event): void method onEvent (line 584) | public function onEvent(CustomEvent $event): void class GenericListener (line 589) | final class GenericListener method __invoke (line 591) | public function __invoke(object $event): void class IncompleteSubscriber (line 596) | final class IncompleteSubscriber implements EventSubscriberInterface method getSubscribedEvents (line 598) | public static function getSubscribedEvents(): array method onFoo (line 605) | public function onFoo(): void method onBar (line 609) | public function onBar(): void method __invoke (line 613) | public function __invoke(CustomEvent $event): void FILE: Tests/EventDispatcherTest.php class EventDispatcherTest (line 19) | class EventDispatcherTest extends TestCase method setUp (line 29) | protected function setUp(): void method createEventDispatcher (line 35) | protected function createEventDispatcher() method testInitialState (line 40) | public function testInitialState() method testAddListener (line 47) | public function testAddListener() method testGetListenersSortsByPriority (line 59) | public function testGetListenersSortsByPriority() method testGetAllListenersSortsByPriority (line 85) | public function testGetAllListenersSortsByPriority() method testGetListenerPriority (line 109) | public function testGetListenerPriority() method testDispatch (line 123) | public function testDispatch() method testDispatchForClosure (line 137) | public function testDispatchForClosure() method testStopEventPropagation (line 149) | public function testStopEventPropagation() method testDispatchByPriority (line 163) | public function testDispatchByPriority() method testRemoveListener (line 182) | public function testRemoveListener() method testAddSubscriber (line 191) | public function testAddSubscriber() method testAddSubscriberWithPriorities (line 199) | public function testAddSubscriberWithPriorities() method testAddSubscriberWithMultipleListeners (line 213) | public function testAddSubscriberWithMultipleListeners() method testRemoveSubscriber (line 224) | public function testRemoveSubscriber() method testRemoveSubscriberWithPriorities (line 235) | public function testRemoveSubscriberWithPriorities() method testRemoveSubscriberWithMultipleListeners (line 244) | public function testRemoveSubscriberWithMultipleListeners() method testEventReceivesTheDispatcherInstanceAsArgument (line 254) | public function testEventReceivesTheDispatcherInstanceAsArgument() method testWorkaroundForPhpBug62976 (line 273) | public function testWorkaroundForPhpBug62976() method testHasListenersWhenAddedCallbackListenerIsRemoved (line 281) | public function testHasListenersWhenAddedCallbackListenerIsRemoved() method testGetListenersWhenAddedCallbackListenerIsRemoved (line 289) | public function testGetListenersWhenAddedCallbackListenerIsRemoved() method testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled (line 297) | public function testHasListenersWithoutEventsReturnsFalseAfterHasListe... method testHasListenersIsLazy (line 303) | public function testHasListenersIsLazy() method testDispatchLazyListener (line 313) | public function testDispatchLazyListener() method testRemoveFindsLazyListeners (line 337) | public function testRemoveFindsLazyListeners() method testPriorityFindsLazyListeners (line 353) | public function testPriorityFindsLazyListeners() method testGetLazyListeners (line 366) | public function testGetLazyListeners() method testMutatingWhilePropagationIsStopped (line 379) | public function testMutatingWhilePropagationIsStopped() method testNamedClosures (line 403) | public function testNamedClosures() class CallableClass (line 428) | class CallableClass method __invoke (line 430) | public function __invoke() class TestEventListener (line 435) | class TestEventListener method preFoo (line 443) | public function preFoo($e) method postFoo (line 448) | public function postFoo($e) method __invoke (line 457) | public function __invoke() class TestWithDispatcher (line 462) | class TestWithDispatcher method foo (line 468) | public function foo($e, $name, $dispatcher) method __invoke (line 474) | public function __invoke($e, $name, $dispatcher) class TestEventSubscriber (line 482) | class TestEventSubscriber implements EventSubscriberInterface method getSubscribedEvents (line 484) | public static function getSubscribedEvents(): array class TestEventSubscriberWithPriorities (line 490) | class TestEventSubscriberWithPriorities implements EventSubscriberInterface method getSubscribedEvents (line 492) | public static function getSubscribedEvents(): array class TestEventSubscriberWithMultipleListeners (line 501) | class TestEventSubscriberWithMultipleListeners implements EventSubscribe... method getSubscribedEvents (line 503) | public static function getSubscribedEvents(): array FILE: Tests/Fixtures/CustomEvent.php class CustomEvent (line 14) | final class CustomEvent FILE: Tests/Fixtures/DummyEvent.php class DummyEvent (line 14) | final class DummyEvent FILE: Tests/Fixtures/TaggedInvokableListener.php class TaggedInvokableListener (line 16) | #[AsEventListener] method __invoke (line 19) | public function __invoke(CustomEvent $event): void FILE: Tests/Fixtures/TaggedMultiListener.php class TaggedMultiListener (line 16) | #[AsEventListener(event: CustomEvent::class, method: 'onCustomEvent')] method onCustomEvent (line 21) | public function onCustomEvent(CustomEvent $event): void method onFoo (line 25) | public function onFoo(): void method onBarEvent (line 29) | public function onBarEvent(): void method onBazEvent (line 33) | #[AsEventListener(event: 'baz')] FILE: Tests/Fixtures/TaggedUnionTypeListener.php class TaggedUnionTypeListener (line 16) | final class TaggedUnionTypeListener method onUnionEvent (line 18) | #[AsEventListener] FILE: Tests/GenericEventTest.php class GenericEventTest (line 20) | class GenericEventTest extends TestCase method setUp (line 25) | protected function setUp(): void method testConstruct (line 31) | public function testConstruct() method testGetArguments (line 39) | public function testGetArguments() method testSetArguments (line 45) | public function testSetArguments() method testSetArgument (line 52) | public function testSetArgument() method testGetArgument (line 59) | public function testGetArgument() method testGetArgException (line 65) | public function testGetArgException() method testOffsetGet (line 71) | public function testOffsetGet() method testOffsetSet (line 81) | public function testOffsetSet() method testOffsetUnset (line 87) | public function testOffsetUnset() method testOffsetIsset (line 93) | public function testOffsetIsset() method testHasArgument (line 99) | public function testHasArgument() method testGetSubject (line 105) | public function testGetSubject() method testHasIterator (line 110) | public function testHasIterator() FILE: Tests/ImmutableEventDispatcherTest.php class ImmutableEventDispatcherTest (line 24) | class ImmutableEventDispatcherTest extends TestCase method testDispatchDelegates (line 26) | public function testDispatchDelegates() method testGetListenersDelegates (line 42) | public function testGetListenersDelegates() method testHasListenersDelegates (line 55) | public function testHasListenersDelegates() method testAddListenerDisallowed (line 68) | public function testAddListenerDisallowed() method testAddSubscriberDisallowed (line 76) | public function testAddSubscriberDisallowed() method testRemoveListenerDisallowed (line 86) | public function testRemoveListenerDisallowed() method testRemoveSubscriberDisallowed (line 94) | public function testRemoveSubscriberDisallowed()