| 1 | <?php |
||
| 19 | class SymfonyEventAdapter implements EventProcessorInterface |
||
| 20 | { |
||
| 21 | /** @var EventDispatcherInterface */ |
||
| 22 | protected $symfonyEventDispatcher; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * SymfonyEventAdapter constructor. |
||
| 26 | * |
||
| 27 | * @param EventDispatcherInterface $eventDispatcher |
||
| 28 | */ |
||
| 29 | 46 | public function __construct( |
|
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Dispatch event as it needs to be. |
||
| 38 | * |
||
| 39 | * @param string $eventName Name of the event. |
||
| 40 | * @param array $params Parameters |
||
| 41 | */ |
||
| 42 | 24 | public function dispatch($eventName, $params) |
|
| 48 | } |