1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace Symfony\Contracts\EventDispatcher;
- use Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface;
- if (interface_exists(PsrEventDispatcherInterface::class)) {
-
- interface EventDispatcherInterface extends PsrEventDispatcherInterface
- {
-
- public function dispatch($event);
- }
- } else {
-
- interface EventDispatcherInterface
- {
-
- public function dispatch($event);
- }
- }
|