56            if (
$reader->nodeType === Reader::ELEMENT) {
 
   65        } 
while (
$reader->nodeType !== Reader::END_ELEMENT);
 
   92            if (is_subclass_of($deserializer, 
'Sabre\\Xml\\XmlDeserializable')) {
 
   93                $value = call_user_func([$deserializer, 
'xmlDeserialize'], 
$reader);
 
   94            } elseif (is_callable($deserializer)) {
 
   95                $value = call_user_func($deserializer, 
$reader);
 
   97                $type = gettype($deserializer);
 
   98                if (
$type === 
'string') {
 
   99                    $type .= 
' (' . $deserializer . 
')';
 
  100                } elseif (
$type === 
'object') {
 
  101                    $type .= 
' (' . get_class($deserializer) . 
')';
 
  103                throw new \LogicException(
'Could not use this type as a deserializer: ' . 
$type);
 
An exception for terminatinating execution or to throw for unit testing.
This class is responsible for decoding the {DAV:}prop element as it appears in {DAV:}property-update.
static parseCurrentElement(Reader $reader)
This function behaves similar to Sabre\Xml\Reader::parseCurrentElement, but instead of creating deep ...
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
This class represents a 'complex' property that didn't have a default decoder.
static xmlDeserialize(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...