PHP Class Dumplie\Customer\Infrastructure\InMemory\InMemoryOrders

Inheritance: implements Dumplie\Customer\Domain\Orders
Afficher le fichier Open project: dumplie/dumplie

Méthodes publiques

Méthode Description
__construct ( )
add ( Order $order )
exists ( OrderId $id ) : boolean
getById ( OrderId $id ) : Order

Method Details

__construct() public méthode

public __construct ( )

add() public méthode

public add ( Order $order )
$order Dumplie\Customer\Domain\Order

exists() public méthode

public exists ( OrderId $id ) : boolean
$id Dumplie\Customer\Domain\OrderId
Résultat boolean

getById() public méthode

public getById ( OrderId $id ) : Order
$id Dumplie\Customer\Domain\OrderId
Résultat Dumplie\Customer\Domain\Order