public function getRootGroup()
    {
        if(!$this->route)
            return $this;

        $group = $this->route->getGroup();

        return $group->getRootGroup();
    }
public function getRootGroup()
    {
        if(!$this->route)
            return $this;

        $group = $this->route->getGroup();

        return $group->getRootGroup();
    }
public function getRootGroup ( ) { if ( ! $ this -> route ) return $ this ; $ group = $ this -> route -> getGroup ( ) ; return $ group -> getRootGroup ( ) ; }
Recusively get the uppermost Routing\Group
@return Group $group
Recusively get the uppermost Routing \ Group