PHP 클래스 Dumplie\CustomerService\Tests\AbstractCustomerServiceContext

상속: implements Dumplie\CustomerService\Tests\CustomerServiceContext
파일 보기 프로젝트 열기: dumplie/dumplie

보호된 프로퍼티들

프로퍼티 타입 설명
$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