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