File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
stubs/Symfony/Component/EventDispatcher Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ parameters:
1212 - stubs/Symfony/Component/Form/ChoiceList/Loader/ChoiceLoaderInterface.stub
1313 - stubs/Symfony/Component/DependencyInjection/ContainerBuilder.stub
1414 - stubs/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.stub
15+ - stubs/Symfony/Component/EventDispatcher/EventDispatcherInterface.stub
1516 - stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub
1617 - stubs/Symfony/Component/EventDispatcher/GenericEvent.stub
1718 - stubs/Symfony/Component/Form/FormBuilderInterface.stub
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Symfony\Contracts\EventDispatcher;
4+
5+ interface EventDispatcherInterface
6+ {
7+ /**
8+ * @template TEvent of object
9+ * @param TEvent $event
10+ *
11+ * @return TEvent
12+ */
13+ public function dispatch(object $event, string $eventName = null): object;
14+ }
You can’t perform that action at this time.
0 commit comments