id() 공개 메소드

public id ( ) : PaymentId
리턴 PaymentId
예제 #1
0
 /**
  * @param Payment $payment
  */
 public function add(Payment $payment)
 {
     $this->payments[(string) $payment->id()] = $payment;
 }