private function getHypertextXml($routes = [])
    {
        // Check if we have routes
        if (!$routes) {
            return '';
        }

        // Loop through the routes and add them as links to the xml
        $xml = '';
        foreach ($routes as $name => $route) {
            $xml .= "<link rel=\"{$name}\" href=\"{$route}\"/>\n";
        }
        return $xml;
    }
private function getHypertextXml($routes = [])
    {
        // Check if we have routes
        if (!$routes) {
            return '';
        }

        // Loop through the routes and add them as links to the xml
        $xml = '';
        foreach ($routes as $name => $route) {
            $xml .= "<link rel=\"{$name}\" href=\"{$route}\"/>\n";
        }
        return $xml;
    }
private function getHypertextXml ( $ routes = [ ] ) { // Check if we have routes if ( ! $ routes ) { return '' ; } // Loop through the routes and add them as links to the xml $ xml = '' ; foreach ( $ routes as $ name => $ route ) { $ xml .= "<link rel=\"{$name}\" href=\"{$route}\"/>\n" ; } return $ xml ; }
Generates the xml for the hypertext routes.

@param optional array $routes The hypertext routes.

@return string The hypertext routes xml string.
Generates the xml for the hypertext routes .