src/Entity/PlantCategory.php
public function removeVariety(\Librinfo\VarietiesBundle\Entity\Variety $variety)
    {
        return $this->varieties->removeElement($variety);
    }
public function removeVariety(\Librinfo\VarietiesBundle\Entity\Variety $variety)
    {
        return $this->varieties->removeElement($variety);
    }
public function removeVariety ( \ Librinfo \ VarietiesBundle \ Entity \ Variety $ variety ) { return $ this -> varieties -> removeElement ( $ variety ) ; }
Remove variety.

@param \Librinfo\VarietiesBundle\Entity\Variety $variety

@return bool tRUE if this collection contained the specified element, FALSE otherwise
Remove variety .