Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe AbstractSerializer
+ Graphe d'héritage de AbstractSerializer:

Champs de données

const CR = "\r"
 
const EOL = "\r\n"
 
const LF = "\n"
 

Fonctions membres protégées statiques

static getLine (StreamInterface $stream)
 
static splitStream (StreamInterface $stream)
 
static serializeHeaders (array $headers)
 
static filterHeader ($header)
 

Description détaillée

Provides base functionality for request and response de/serialization strategies, including functionality for retrieving a line at a time from the message, splitting headers from the body, and serializing headers.

Documentation des fonctions membres

◆ filterHeader()

static filterHeader (   $header)
staticprotected

Filter a header name to wordcase

Références $header.

◆ getLine()

static getLine ( StreamInterface  $stream)
staticprotected

Retrieve a single line from the stream.

Retrieves a line from the stream; a line is defined as a sequence of characters ending in a CRLF sequence.

Exceptions
Exception

Références Laminas\Diactoros\$stream, DeserializationException\forUnexpectedCarriageReturn(), DeserializationException\forUnexpectedEndOfHeaders(), et DeserializationException\forUnexpectedLineFeed().

◆ serializeHeaders()

static serializeHeaders ( array  $headers)
staticprotected

Serialize headers to string values.

Références $header, et $value.

◆ splitStream()

static splitStream ( StreamInterface  $stream)
staticprotected

Split the stream into headers and body content.

Returns an array containing two elements

  • The first is an array of headers
  • The second is a StreamInterface containing the body content
Exceptions
Exception

Références Laminas\Diactoros\$stream, $value, DeserializationException\forInvalidHeader(), et DeserializationException\forInvalidHeaderContinuation().

Documentation des champs

◆ CR

const CR = "\r"

◆ EOL

const EOL = "\r\n"

◆ LF

const LF = "\n"

La documentation de cette classe a été générée à partir du fichier suivant :