public function addProductToUser(Product $product) { $product->addUser($this); $this->products[] = $product; }