W3cubDocs

/Symfony 4.1

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.
https://api.symfony.com/4.1/Symfony/Component/WebLink/HttpHeaderSerializer.html