PHP Класс Dumplie\CustomerService\Tests\AbstractCustomerServiceContext

Наследование: implements Dumplie\CustomerService\Tests\CustomerServiceContext
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
commandBus ( ) : Dumplie\SharedKernel\Application\CommandBus
createPaymentFor ( OrderId $orderId ) : PaymentId
customerPlacedOrder ( string $orderId )
orders ( ) : Dumplie\CustomerService\Domain\Orders
payments ( ) : Dumplie\CustomerService\Domain\Payments

Защищенные методы

Метод Описание
createCommandBus ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, array $commandExtensions = [] ) : Dumplie\SharedKernel\Application\CommandBus

Описание методов

commandBus() публичный Метод

public commandBus ( ) : Dumplie\SharedKernel\Application\CommandBus
Результат Dumplie\SharedKernel\Application\CommandBus

createCommandBus() защищенный Метод

protected createCommandBus ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, array $commandExtensions = [] ) : Dumplie\SharedKernel\Application\CommandBus
$commandBusFactory Dumplie\SharedKernel\Tests\Context\CommandBusFactory
$commandExtensions array
Результат Dumplie\SharedKernel\Application\CommandBus

createPaymentFor() публичный Метод

public createPaymentFor ( OrderId $orderId ) : PaymentId
$orderId Dumplie\CustomerService\Domain\OrderId
Результат Dumplie\CustomerService\Domain\PaymentId

customerPlacedOrder() публичный Метод

public customerPlacedOrder ( string $orderId )
$orderId string

orders() публичный Метод

public orders ( ) : Dumplie\CustomerService\Domain\Orders
Результат Dumplie\CustomerService\Domain\Orders

payments() публичный Метод

public payments ( ) : Dumplie\CustomerService\Domain\Payments
Результат Dumplie\CustomerService\Domain\Payments

Описание свойств

$commandBus защищенное свойство

protected CommandBus,Dumplie\SharedKernel\Application $commandBus
Результат Dumplie\SharedKernel\Application\CommandBus

$eventLog защищенное свойство

protected EventLog,Dumplie\SharedKernel\Application $eventLog
Результат Dumplie\SharedKernel\Application\EventLog

$orders защищенное свойство

protected Orders,Dumplie\CustomerService\Domain $orders
Результат Dumplie\CustomerService\Domain\Orders

$payments защищенное свойство

protected Payments,Dumplie\CustomerService\Domain $payments
Результат Dumplie\CustomerService\Domain\Payments

$transactionFactory защищенное свойство

protected Factory,Dumplie\SharedKernel\Application\Transaction $transactionFactory
Результат Dumplie\SharedKernel\Application\Transaction\Factory