Documentation

HttpHeaderSerializer
in package

FinalYes

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

Tags
see
https://tools.ietf.org/html/rfc5988
author

Kévin Dunglas dunglas@gmail.com

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
Return values
string|null

        
On this page

Search results