Dumplie\Inventory\Tests\InMemory\InMemoryInventoryContext::__construct PHP Method

__construct() public method

public __construct ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, Dumplie\SharedKernel\Application\EventLog $eventLog )
$commandBusFactory Dumplie\SharedKernel\Tests\Context\CommandBusFactory
$eventLog Dumplie\SharedKernel\Application\EventLog
    public function __construct(CommandBusFactory $commandBusFactory, EventLog $eventLog)
    {
        $this->products = new InMemoryProducts();
        $this->commandBus = $this->createCommandBus($commandBusFactory, $eventLog);
    }
InMemoryInventoryContext