/** * Remove objects * * @param \Woojin\AgencyBundle\Entity\Object $objects */ public function removeObject(\Woojin\AgencyBundle\Entity\Object $objects) { $this->objects->removeElement($objects); }
/** * @return $this */ public function clearObjects() { $this->objects->clear(); return $this; }