/** * Updates properties on this node. * * This method received a PropPatch object, which contains all the * information about the update. * * To update specific properties, call the 'handle' method on this object. * Read the PropPatch documentation for more information. * * @param DAV\PropPatch $propPatch * @return void */ function propPatch(DAV\PropPatch $propPatch) { return $this->principalBackend->updatePrincipal($this->principalProperties['uri'], $propPatch); }
/** * Updates this principals properties. * * @param array $mutations * @see Sabre\DAV\IProperties::updateProperties * @return bool|array */ public function updateProperties($mutations) { return $this->principalBackend->updatePrincipal($this->principalProperties['uri'], $mutations); }