public function render()
    {
        $counter = 0;

        foreach ($this->getRoutes() as $name => $route) {
            if ('_' !== substr($name, 0, 1)) {
                $this->routeRenderer->render($route, $name);
                $counter += 1;
            }
        }

        return $counter;
    }
public function render()
    {
        $counter = 0;

        foreach ($this->getRoutes() as $name => $route) {
            if ('_' !== substr($name, 0, 1)) {
                $this->routeRenderer->render($route, $name);
                $counter += 1;
            }
        }

        return $counter;
    }
public function render ( ) { $ counter = 0 ; foreach ( $ this -> getRoutes ( ) as $ name => $ route ) { if ( '_' !== substr ( $ name , 0 , 1 ) ) { $ this -> routeRenderer -> render ( $ route , $ name ) ; $ counter += 1 ; } } return $ counter ; }
Renders all public routes, that is, routes that do not start with "_".

@return integer Number of rendered routes
Renders all public routes that is routes that do not start with _ .