Entity/Customer.php
public function removeHistory(\Miky\Bundle\UserBundle\Entity\History $history)
    {
        return $this->history->removeElement($history);
    }
public function removeHistory(\Miky\Bundle\UserBundle\Entity\History $history)
    {
        return $this->history->removeElement($history);
    }
Remove history

@param \Miky\Bundle\UserBundle\Entity\History $history

@return boolean TRUE if this collection contained the specified element, FALSE otherwise.