HttpHeaderSerializer

class HttpHeaderSerializer

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

Methods

string|null serialize(iterable $links)

Builds the value of the "Link" HTTP header.

Details

string|null serialize(iterable $links)

Builds the value of the "Link" HTTP header.

Parameters

iterable $links

Return Value

string|null

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