15 new Sharee([
'foo' =>
'bar']);
22<?xml version=
"1.0" encoding=
"utf-8" ?>
23<
D:sharee xmlns:
D=
"DAV:">
24 <
D:href>mailto:eric@example.com</
D:href>
26 <
D:displayname>Eric York</
D:displayname>
36 '{DAV:}sharee' =>
'Sabre\\DAV\\Xml\\Element\\Sharee'
40 'href' =>
'mailto:eric@example.com',
41 'properties' => [
'{DAV:}displayname' =>
'Eric York'],
42 'comment' =>
'Shared workspace',
58<?xml version=
"1.0" encoding=
"utf-8" ?>
59<
D:sharee xmlns:
D=
"DAV:">
61 <
D:displayname>Eric York</
D:displayname>
71 '{DAV:}sharee' =>
'Sabre\\DAV\\Xml\\Element\\Sharee'
83<?xml version=
"1.0" encoding=
"utf-8" ?>
84<
D:sharee xmlns:
D=
"DAV:">
85 <
D:href>mailto:eric@example.com</
D:href>
87 <
D:displayname>Eric York</
D:displayname>
94 '{DAV:}sharee' =>
'Sabre\\DAV\\Xml\\Element\\Sharee'
An exception for terminatinating execution or to throw for unit testing.
This plugin implements HTTP requests and properties related to:
testDeserializeNoHref()
@expectedException \Sabre\DAV\Exception\BadRequest
testShareeUnknownPropertyInConstructor()
@expectedException \InvalidArgumentException
testDeserializeNoShareeAccess()
@expectedException \Sabre\DAV\Exception\BadRequest
This class represents the {DAV:}sharee element.
parse($xml, array $elementMap=[])