14 <?xml version=
"1.0" encoding=
"utf-8" ?>
15 <
D:share-resource xmlns:
D=
"DAV:">
17 <
D:href>mailto:eric@example.com</
D:href>
19 <
D:displayname>Eric York</
D:displayname>
27 <
D:href>mailto:eric@example.com</
D:href>
33 <
D:href>mailto:wilfredo@example.com</
D:href>
42 '{DAV:}share-resource' =>
'Sabre\\DAV\\Xml\\Request\\ShareResource' 45 $this->assertInstanceOf(
46 'Sabre\\DAV\\Xml\\Request\\ShareResource',
56 $expected[0]->href =
'mailto:eric@example.com';
57 $expected[0]->properties[
'{DAV:}displayname'] =
'Eric York';
58 $expected[0]->comment =
'Shared workspace';
61 $expected[1]->href =
'mailto:eric@example.com';
64 $expected[2]->href =
'mailto:wilfredo@example.com';
This class represents the {DAV:}sharee element.
parse($xml, array $elementMap=[])