Property | Type | Description | |
---|---|---|---|
$commandBus | Dumplie\SharedKernel\Application\CommandBus | ||
$eventLog | Dumplie\SharedKernel\Application\EventLog | ||
$orders | Dumplie\CustomerService\Domain\Orders | ||
$payments | Dumplie\CustomerService\Domain\Payments | ||
$transactionFactory | Dumplie\SharedKernel\Application\Transaction\Factory |
Method | Description | |
---|---|---|
commandBus ( ) : Dumplie\SharedKernel\Application\CommandBus | ||
createPaymentFor ( |
||
customerPlacedOrder ( string $orderId ) | ||
orders ( ) : Dumplie\CustomerService\Domain\Orders | ||
payments ( ) : Dumplie\CustomerService\Domain\Payments |
Method | Description | |
---|---|---|
createCommandBus ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, array $commandExtensions = [] ) : Dumplie\SharedKernel\Application\CommandBus |
public commandBus ( ) : Dumplie\SharedKernel\Application\CommandBus | ||
return | Dumplie\SharedKernel\Application\CommandBus |
protected createCommandBus ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, array $commandExtensions = [] ) : Dumplie\SharedKernel\Application\CommandBus | ||
$commandBusFactory | Dumplie\SharedKernel\Tests\Context\CommandBusFactory | |
$commandExtensions | array | |
return | Dumplie\SharedKernel\Application\CommandBus |
public createPaymentFor ( |
||
$orderId | ||
return |
public orders ( ) : Dumplie\CustomerService\Domain\Orders | ||
return | Dumplie\CustomerService\Domain\Orders |
public payments ( ) : Dumplie\CustomerService\Domain\Payments | ||
return | Dumplie\CustomerService\Domain\Payments |
protected CommandBus,Dumplie\SharedKernel\Application $commandBus | ||
return | Dumplie\SharedKernel\Application\CommandBus |
protected EventLog,Dumplie\SharedKernel\Application $eventLog | ||
return | Dumplie\SharedKernel\Application\EventLog |
protected Orders,Dumplie\CustomerService\Domain $orders | ||
return | Dumplie\CustomerService\Domain\Orders |
protected Payments,Dumplie\CustomerService\Domain $payments | ||
return | Dumplie\CustomerService\Domain\Payments |