/** * Adds a Brand. * * @param Brand $brand * @return $this For fluid purposes. */ public function addBrand(\Seh\Bundle\SehBundle\Entity\Brand $brand) { if (!$this->brands->contains($brand)) { $this->brands->add($brand); } return $this; }