public function setVariety(\Librinfo\VarietiesBundle\Entity\Variety $variety = null)
    {
        $this->variety = $variety;

        return $this;
    }
public function setVariety(\Librinfo\VarietiesBundle\Entity\Variety $variety = null)
    {
        $this->variety = $variety;

        return $this;
    }
public function setVariety ( \ Librinfo \ VarietiesBundle \ Entity \ Variety $ variety = null ) { $ this -> variety = $ variety ; return $ this ; }
Set variety.

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

@return Strain
Set variety .