CardDAV Client Library

ResponsePropstat extends Response
in package

Represents XML DAV:response elements with propstat children as PHP objects.

Tags
psalm-immutable

Table of Contents

$href  : string
URI the response applies to. MUST contain a URI or a relative reference.
$propstat  : array<int, Propstat>
Propstat child elements.
__construct()  : mixed
Constructs a new ResponsePropstat element.
xmlDeserialize()  : Response
Deserializes the child elements of a DAV:response element and creates a new instance of the proper subclass of Response.

Properties

$href

URI the response applies to. MUST contain a URI or a relative reference.

public string $href

Methods

__construct()

Constructs a new ResponsePropstat element.

public __construct(string $href, array<int, Propstat$propstat) : mixed
Parameters
$href : string

URI the response applies to

$propstat : array<int, Propstat>

Propstat child elements

Tags
psalm-param

list $propstat

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
Return values
Response

Search results