protected getCommandBus ( ) : Mockery\MockInterface | Bruli\EventBusBundle\CommandBus\CommandBus | ||
Результат | Mockery\MockInterface | Bruli\EventBusBundle\CommandBus\CommandBus |
protected function getCommandBus()
{
return $this->commandBus = $this->commandBus ?: Mock::get(CommandBus::class);
}