45 <foo><no>yes</no></foo>
50 '{DAV:}foo' =>
new Complex(
'<no xmlns="DAV:">yes</no>')
61 <foo><href>/hello</href></foo>
66 '{DAV:}foo' =>
new Href(
'/hello',
false)
70 '{DAV:}foo' =>
'Sabre\DAV\Xml\Property\Href' 90 '{DAV:}foo' =>
function(
$reader) {
106 <?xml version=
"1.0"?>
115 '{DAV:}foo' =>
'idk?',
128 <?xml version=
"1.0"?>
137 '{DAV:}foo' => new \StdClass(),
146 $elementMap[
'{DAV:}root'] =
'Sabre\DAV\Xml\Element\Prop';
149 $this->assertInternalType(
'array',
$result);
150 $this->assertEquals($expected,
$result[
'value']);
testDeserializeCustomCallback()
assertDecodeProp($input, array $expected, array $elementMap=[])
testDeserializeCustomBad()
parse($xml, array $elementMap=[])
testDeserializeCustomBadObj()