PHP Class Dumplie\CustomerService\Infrastructure\InMemory\InMemoryPayments

Inheritance: implements Dumplie\CustomerService\Domain\Payments
Afficher le fichier Open project: dumplie/dumplie

Méthodes publiques

Méthode Description
__construct ( array $payments = [] )
add ( Payment $payment )
getById ( PaymentId $paymentId ) : Payment

Method Details

__construct() public méthode

public __construct ( array $payments = [] )
$payments array

add() public méthode

public add ( Payment $payment )
$payment Dumplie\CustomerService\Domain\Payment

getById() public méthode

public getById ( PaymentId $paymentId ) : Payment
$paymentId Dumplie\CustomerService\Domain\PaymentId
Résultat Dumplie\CustomerService\Domain\Payment