File tree 2 files changed +15
-0
lines changed
stubs/Symfony/Component/EventDispatcher
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ parameters:
12
12
- stubs/Symfony/Component/Form/ChoiceList/Loader/ChoiceLoaderInterface.stub
13
13
- stubs/Symfony/Component/DependencyInjection/ContainerBuilder.stub
14
14
- stubs/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.stub
15
+ - stubs/Symfony/Component/EventDispatcher/EventDispatcherInterface.stub
15
16
- stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub
16
17
- stubs/Symfony/Component/EventDispatcher/GenericEvent.stub
17
18
- 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