public function getPlantCategories()
    {
        if (!$this->plant_categories && $this->getSpecies()) {
            return $this->getSpecies()->getPlantCategories();
        }

        return $this->plant_categories;
    }
public function getPlantCategories()
    {
        if (!$this->plant_categories && $this->getSpecies()) {
            return $this->getSpecies()->getPlantCategories();
        }

        return $this->plant_categories;
    }
public function getPlantCategories ( ) { if ( ! $ this -> plant_categories && $ this -> getSpecies ( ) ) { return $ this -> getSpecies ( ) -> getPlantCategories ( ) ; } return $ this -> plant_categories ; }
Get plantCategories.

@return \Doctrine\Common\Collections\Collection
Get plantCategories .