PHP Класс Prooph\ServiceBus\QueryBus
The query bus dispatches a query message to a finder.
The query is maybe dispatched async so the bus returns a promise
which gets either resolved with the response of the finder or rejected with an exception.
Additionally the finder can provide an update status but this is not guaranteed.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Описание методов
dispatch()
публичный Метод
setActionEventEmitter()
публичный Метод
Inject an ActionEventDispatcher instance
public setActionEventEmitter ( Prooph\Common\Event\ActionEventEmitter $actionEventDispatcher ) : void |
$actionEventDispatcher |
Prooph\Common\Event\ActionEventEmitter |
|
Результат |
void |
|