public function addVariety(\Librinfo\VarietiesBundle\Entity\Variety $variety)
    {
        $this->varieties[] = $variety;

        return $this;
    }
public function addVariety(\Librinfo\VarietiesBundle\Entity\Variety $variety)
    {
        $this->varieties[] = $variety;

        return $this;
    }
public function addVariety ( \ Librinfo \ VarietiesBundle \ Entity \ Variety $ variety ) { $ this -> varieties [ ] = $ variety ; return $ this ; }
Add variety.

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

@return PlantCategory
Add variety .