[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-diactoros/src/Request/ -> 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: 142 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  fromString()
  fromStream()
  toString()
  getRequestLine()
  createUriFromRequestTarget()

Functions
Functions that are not part of a class:

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

Internally, casts the message to a stream and invokes fromStream().


fromStream(StreamInterface $stream)   X-Ref
Deserialize a request stream to a request instance.


toString(RequestInterface $request)   X-Ref
Serialize a request message to a string.


getRequestLine(StreamInterface $stream)   X-Ref
Retrieve the components of the request line.

Retrieves the first line of the stream and parses it, raising an
exception if it does not follow specifications; if valid, returns a list
with the method, target, and version, in that order.


createUriFromRequestTarget(string $requestTarget)   X-Ref
Create and return a Uri instance based on the provided request target.

If the request target is of authority or asterisk form, an empty Uri
instance is returned; otherwise, the value is used to create and return
a new Uri instance.



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