src/Http/Router/Route.php
private function format(&$url)
    {
        if ($url == '/') {
            $value = 'project_home';
            $url = '';
        } else {
            $value = $url;
            $url = '/'.$url;
        }

        return $value;
    }
private function format(&$url)
    {
        if ($url == '/') {
            $value = 'project_home';
            $url = '';
        } else {
            $value = $url;
            $url = '/'.$url;
        }

        return $value;
    }
private function format ( & $ url ) { if ( $ url == '/' ) { $ value = 'project_home' ; $ url = '' ; } else { $ value = $ url ; $ url = '/' . $ url ; } return $ value ; }
Format the name and the url of Route.

@param string $url

@return string
Format the name and the url of Route .