src/Graviton/RestBundle/HttpFoundation/LinkHeader.php
public static function fromResponse(Response $response)
    {
        $header = $response->headers->get('Link');
        if (is_array($header)) {
            implode(',', $header);
        }

        return self::fromString($header);
    }
public static function fromResponse(Response $response)
    {
        $header = $response->headers->get('Link');
        if (is_array($header)) {
            implode(',', $header);
        }

        return self::fromString($header);
    }
public static function fromResponse ( Response $ response ) { $ header = $ response -> headers -> get ( 'Link' ) ; if ( is_array ( $ header ) ) { implode ( ',' , $ header ) ; } return self :: fromString ( $ header ) ; }
get LinkHeader instance from response

@param \Symfony\Component\HttpFoundation\Response $response response to get header from

@return LinkHeader
get LinkHeader instance from response