MGDigital\BusQue\CommandBusAdapterInterface::handle PHP Method

handle() public method

public handle ( $command, boolean $fromQueue = false )
$fromQueue boolean
    public function handle($command, bool $fromQueue = false);

Usage Example

Example #1
0
 /**
  * @Then the command :arg1 should not have run
  */
 public function theCommandArgShouldNotHaveRun($arg1)
 {
     $this->commandBus->handle($arg1, true)->shouldNotHaveBeenCalled();
 }
CommandBusAdapterInterface