PHP 클래스 Dumplie\CustomerService\Infrastructure\InMemory\InMemoryOrders
파일 보기
프로젝트 열기: dumplie/dumplie
공개 메소드들
메소드 |
설명 |
|
__construct ( array $orders = [] ) |
|
|
add ( Dumplie\CustomerService\Domain\Order $order ) |
|
|
getById ( OrderId $orderId ) : Dumplie\CustomerService\Domain\Order |
|
|
메소드 상세
public add ( Dumplie\CustomerService\Domain\Order $order ) |
$order |
Dumplie\CustomerService\Domain\Order |
|
public getById ( OrderId $orderId ) : Dumplie\CustomerService\Domain\Order |
$orderId |
Dumplie\CustomerService\Domain\OrderId |
|
리턴 |
Dumplie\CustomerService\Domain\Order |
|