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

        // Create the html table
        $html = "<table style=\"border: 1px solid black;\">\n";

        // Loop through the routes and add them as rows to the table
        foreach ($routes as $name => $route) {
            $html .= "<tr>\n";
            $html .= "<td style=\"border: 1px solid black;\">rel: {$name}</td>\n";
            $html .= "<td style=\"border: 1px solid black;\">href: {$route}</td>\n";
            $html .= "</tr>\n";
        }
        $html .= "</table>\n";

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

        // Create the html table
        $html = "<table style=\"border: 1px solid black;\">\n";

        // Loop through the routes and add them as rows to the table
        foreach ($routes as $name => $route) {
            $html .= "<tr>\n";
            $html .= "<td style=\"border: 1px solid black;\">rel: {$name}</td>\n";
            $html .= "<td style=\"border: 1px solid black;\">href: {$route}</td>\n";
            $html .= "</tr>\n";
        }
        $html .= "</table>\n";

        return $html;
    }
private function getHypertextHtml ( $ routes = [ ] ) { // Check if we have routes if ( ! $ routes ) { return '' ; } // Create the html table $ html = "<table style=\"border: 1px solid black;\">\n" ; // Loop through the routes and add them as rows to the table foreach ( $ routes as $ name => $ route ) { $ html .= "<tr>\n" ; $ html .= "<td style=\"border: 1px solid black;\">rel: {$name}</td>\n" ; $ html .= "<td style=\"border: 1px solid black;\">href: {$route}</td>\n" ; $ html .= "</tr>\n" ; } $ html .= "</table>\n" ; return $ html ; }
Generates the html for the hypertext routes.

@param optional array $routes The hypertext routes.

@return string The hypertext routes html table.
Generates the html for the hypertext routes .