public function __construct(Product $product, $quantity) { parent::__construct(); $this->product = $product; $this->quantity = $quantity; }
public function __construct(Tag $tag, $quantity) { parent::__construct(); $this->tag = $tag; $this->quantity = $quantity; }