HttpHeaderSerializer

class HttpHeaderSerializer

Serializes a list of Link instances to a HTTP Link header.

Methods

string|null serialize(LinkInterface[]|Traversable $links)

Builds the value of the "Link" HTTP header.

Details

string|null serialize(LinkInterface[]|Traversable $links)

Builds the value of the "Link" HTTP header.

Parameters

LinkInterface[]|Traversable $links

Return Value

string|null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/WebLink/HttpHeaderSerializer.html