Exemplo n.º 1
0
 public function __construct(Identifier $id, Identifier $customer_id)
 {
     parent::__construct($id);
     $this->customer_id = $customer_id;
 }
Exemplo n.º 2
0
 public function __construct(Identifier $id, ValueObject\Quantity $quantity)
 {
     parent::__construct($id);
     $this->quantity = $quantity;
 }