protected function headerLink(array $routes)
    {
        $links = [];
        foreach ($routes as $rel => $route) {
            $links[] = '<' . $this->url . $route . '>; rel="' . $rel . '"';
        }
        return implode(', ', $links);
    }
protected function headerLink(array $routes)
    {
        $links = [];
        foreach ($routes as $rel => $route) {
            $links[] = '<' . $this->url . $route . '>; rel="' . $rel . '"';
        }
        return implode(', ', $links);
    }
protected function headerLink ( array $ routes ) { $ links = [ ] ; foreach ( $ routes as $ rel => $ route ) { $ links [ ] = '<' . $ this -> url . $ route . '>; rel="' . $ rel . '"' ; } return implode ( ', ' , $ links ) ; }
Generates content for Link header

@param string[] $routes List of routes

@return string
Generates content for Link header