21 $this->assertEquals($expected,
$result);
36 '{DAV:}getetag' =>
'bla',
41 '{DAV:}getetag' => 403,
44 $this->assertEquals($expected,
$result);
61 '{DAV:}foo2' =>
'bla',
68 $this->assertEquals($expected,
$result);
80 $propPatch->
handle([
'{DAV:}foo',
'{DAV:}foo2'],
function() {
91 '{DAV:}foo2' =>
'bla',
98 $this->assertEquals($expected,
$result);
This class represents a set of properties that are going to be updated.
testUpdatePropertiesFail()
testUpdatePropertiesEventFail()
setResultCode($properties, $resultCode)
Sets the result code for one or more properties.
handle($properties, callable $callback)
Call this function if you wish to handle updating certain properties.
testUpdatePropertiesEventSuccess()
handleRemaining(callable $callback)
Call this function if you wish to handle all properties that haven't been handled by anything else ye...
testUpdatePropertiesProtected()