HttpHeaderSerializer
in package
FinalYes
Serializes a list of Link instances to an HTTP Link header.
Tags
Table of Contents
Methods
- serialize() : string|null
- Builds the value of the "Link" HTTP header.
Methods
serialize()
Builds the value of the "Link" HTTP header.
public
serialize(array<string|int, LinkInterface>|Traversable $links) : string|null
Parameters
- $links : array<string|int, LinkInterface>|Traversable