src/Entity/PlantCategory.php
public function addSpecies(\Librinfo\VarietiesBundle\Entity\Species $species)
    {
        $this->species[] = $species;

        return $this;
    }
public function addSpecies(\Librinfo\VarietiesBundle\Entity\Species $species)
    {
        $this->species[] = $species;

        return $this;
    }
public function addSpecies ( \ Librinfo \ VarietiesBundle \ Entity \ Species $ species ) { $ this -> species [ ] = $ species ; return $ this ; }
Add species.

@param \Librinfo\VarietiesBundle\Entity\Species $species

@return PlantCategory
Add species .