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