ResponseStatus
extends Response
in package
Represents XML DAV:response elements with status children as PHP objects.
Tags
Table of Contents
- $hrefs : array<int, string>
- URIs the status in this reponse applies to. MUST contain a URI or a relative reference.
- $status : string
- The HTTP status value of this response.
- __construct() : mixed
- Constructs a new ResponseStatus object.
- xmlDeserialize() : Response
- Deserializes the child elements of a DAV:response element and creates a new instance of the proper subclass of Response.
Properties
$hrefs
URIs the status in this reponse applies to. MUST contain a URI or a relative reference.
public
array<int, string>
$hrefs
Tags
$status
The HTTP status value of this response.
public
string
$status
Methods
__construct()
Constructs a new ResponseStatus object.
public
__construct(array<int, string> $hrefs, string $status) : mixed
Parameters
- $hrefs : array<int, string>
- $status : string
Tags
Return values
mixed —xmlDeserialize()
Deserializes the child elements of a DAV:response element and creates a new instance of the proper subclass of Response.
public
static xmlDeserialize(Reader $reader) : Response
Parameters
- $reader : Reader