public function getSpecies()
    {
        if ($this->hasParent() && !$this->species) {
            return $this->getParent()->getSpecies();
        }

        return $this->species;
    }
public function getSpecies()
    {
        if ($this->hasParent() && !$this->species) {
            return $this->getParent()->getSpecies();
        }

        return $this->species;
    }
public function getSpecies ( ) { if ( $ this -> hasParent ( ) && ! $ this -> species ) { return $ this -> getParent ( ) -> getSpecies ( ) ; } return $ this -> species ; }
Get species.

@return \Librinfo\VarietiesBundle\Entity\Species
Get species .