code: public function removeHistory(\Miky\Bundle\UserBundle\Entity\History $history)
      {
          return $this->history->removeElement($history);
      }
docs: Remove history
  
  @param \Miky\Bundle\UserBundle\Entity\History $history
  
  @return boolean TRUE if this collection contained the specified element, FALSE otherwise.