[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-diactoros/src/Response/ -> Serializer.php (summary)

(no description)

Copyright: https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md
License: https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License
File Size: 105 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  fromString()
  fromStream()
  toString()
  getStatusLine()

Functions
Functions that are not part of a class:

fromString(string $message)   X-Ref
Deserialize a response string to a response instance.


fromStream(StreamInterface $stream)   X-Ref
Parse a response from a stream.


toString(ResponseInterface $response)   X-Ref
Create a string representation of a response.


getStatusLine(StreamInterface $stream)   X-Ref
Retrieve the status line for the message.

return: array Array with three elements: 0 => version, 1 => status, 2 => reason



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer