12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?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);
- }
- }
|