public function setSubnodes(\Doctrine\Common\Collections\ArrayCollection $subnodes)
    {
        $this->subnodes = $subnodes;

        return $this;
    }
public function setSubnodes(\Doctrine\Common\Collections\ArrayCollection $subnodes)
    {
        $this->subnodes = $subnodes;

        return $this;
    }
public function setSubnodes ( \ Doctrine \ Common \ Collections \ ArrayCollection $ subnodes ) { $ this -> subnodes = $ subnodes ; return $ this ; }
Sets Subnodes.

@param \Doctrine\Common\Collections\ArrayCollection $subnodes Subnodes

@return $this Self object
Sets Subnodes .