/** * Remove one bill * * @param \UnrLab\DomainBundle\Entity\BaseBill $bill * * @return \UnrLab\DomainBundle\Entity\Company */ public function removeBill(BaseBill $bill) { $bill->setCompany(null); $this->bills->removeElement($bill); return $this; }