src/Guzzle/Http/Message/Header/Link.php
public function addLink($url, $rel, array $params = array())
    {
        $values = array("<{$url}>", "rel=\"{$rel}\"");

        foreach ($params as $k => $v) {
            $values[] = "{$k}=\"{$v}\"";
        }

        return $this->add(implode('; ', $values));
    }
public function addLink($url, $rel, array $params = array())
    {
        $values = array("<{$url}>", "rel=\"{$rel}\"");

        foreach ($params as $k => $v) {
            $values[] = "{$k}=\"{$v}\"";
        }

        return $this->add(implode('; ', $values));
    }
public function addLink ( $ url , $ rel , array $ params = array ( ) ) { $ values = array ( "<{$url}>" , "rel=\"{$rel}\"" ) ; foreach ( $ params as $ k => $ v ) { $ values [ ] = "{$k}=\"{$v}\"" ; } return $ this -> add ( implode ( '; ' , $ values ) ) ; }
Add a link to the header

@param string $url    Link URL
@param string $rel    Link rel
@param array  $params Other link parameters

@return self
Add a link to the header