Entity/Menu.php
public function setParent(\Skillberto\SonataPageMenuBundle\Entity\Menu $parent = null)
    {
        $this->parent = $parent;

        return $this;
    }
public function setParent(\Skillberto\SonataPageMenuBundle\Entity\Menu $parent = null)
    {
        $this->parent = $parent;

        return $this;
    }
Set parent

@param \Skillberto\SonataPageMenuBundle\Entity\Menu $parent
@return Menu