PHP Class Dumplie\CustomerService\Tests\AbstractCustomerServiceContext

Inheritance: implements Dumplie\CustomerService\Tests\CustomerServiceContext
Afficher le fichier Open project: dumplie/dumplie

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
commandBus ( ) : Dumplie\SharedKernel\Application\CommandBus
createPaymentFor ( OrderId $orderId ) : PaymentId
customerPlacedOrder ( string $orderId )
orders ( ) : Dumplie\CustomerService\Domain\Orders
payments ( ) : Dumplie\CustomerService\Domain\Payments

Méthodes protégées

Méthode Description
createCommandBus ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, array $commandExtensions = [] ) : Dumplie\SharedKernel\Application\CommandBus

Method Details

commandBus() public méthode

public commandBus ( ) : Dumplie\SharedKernel\Application\CommandBus
Résultat Dumplie\SharedKernel\Application\CommandBus

createCommandBus() protected méthode

protected createCommandBus ( Dumplie\SharedKernel\Tests\Context\CommandBusFactory $commandBusFactory, array $commandExtensions = [] ) : Dumplie\SharedKernel\Application\CommandBus
$commandBusFactory Dumplie\SharedKernel\Tests\Context\CommandBusFactory
$commandExtensions array
Résultat Dumplie\SharedKernel\Application\CommandBus

createPaymentFor() public méthode

public createPaymentFor ( OrderId $orderId ) : PaymentId
$orderId Dumplie\CustomerService\Domain\OrderId
Résultat Dumplie\CustomerService\Domain\PaymentId

customerPlacedOrder() public méthode

public customerPlacedOrder ( string $orderId )
$orderId string

orders() public méthode

public orders ( ) : Dumplie\CustomerService\Domain\Orders
Résultat Dumplie\CustomerService\Domain\Orders

payments() public méthode

public payments ( ) : Dumplie\CustomerService\Domain\Payments
Résultat Dumplie\CustomerService\Domain\Payments

Property Details

$commandBus protected_oe property

protected CommandBus,Dumplie\SharedKernel\Application $commandBus
Résultat Dumplie\SharedKernel\Application\CommandBus

$eventLog protected_oe property

protected EventLog,Dumplie\SharedKernel\Application $eventLog
Résultat Dumplie\SharedKernel\Application\EventLog

$orders protected_oe property

protected Orders,Dumplie\CustomerService\Domain $orders
Résultat Dumplie\CustomerService\Domain\Orders

$payments protected_oe property

protected Payments,Dumplie\CustomerService\Domain $payments
Résultat Dumplie\CustomerService\Domain\Payments

$transactionFactory protected_oe property

protected Factory,Dumplie\SharedKernel\Application\Transaction $transactionFactory
Résultat Dumplie\SharedKernel\Application\Transaction\Factory