62 $reader->elementMap[
'{DAV:}owner'] =
'Sabre\\Xml\\Element\\XmlFragment';
69 $new->owner = !empty(
$values[
'{DAV:}owner']) ?
$values[
'{DAV:}owner']->getXml() :
null;
72 if (isset(
$values[
'{DAV:}lockscope'])) {
73 foreach (
$values[
'{DAV:}lockscope'] as $elem) {
An exception for terminatinating execution or to throw for unit testing.
const EXCLUSIVE
An exclusive lock.
const SHARED
A shared lock.
WebDAV LOCK request parser.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
'KeyValue' parses out all child elements from a single node, and outputs a key=>value struct.
static xmlDeserialize(Xml\Reader $reader)
The deserialize method is called during xml parsing.
The Reader class expands upon PHP's built-in XMLReader.
Implementing the XmlDeserializable interface allows you to use a class as a deserializer for a specif...