| 1 | <?php |
||
| 13 | class AsyncEventExecutor |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var EventDispatcherInterface |
||
| 17 | */ |
||
| 18 | protected $eventDispatcher; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var EventDispatcherInterface $eventDispatcher |
||
| 22 | */ |
||
| 23 | public function __construct(EventDispatcherInterface $eventDispatcher) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Invokes the executor |
||
| 30 | * |
||
| 31 | * @var AsyncEvent $asyncEvent |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function __invoke(AsyncEvent $asyncEvent) |
||
| 39 | } |