3declare(strict_types=1);
21use Sabre\DAV\Exception\Forbidden;
23trait ilWebDAVReadOnlyNodeWriteFunctionsTrait
29 public function createDirectory(
$name): void
31 throw new Forbidden(
"It is not possible to create a directory here.");
38 public function createFile(
$name,
$data =
null): ?string
40 throw new Forbidden(
"It is not possible to create a file here.");
47 public function setName(
$name): void
49 throw new Forbidden(
"It is not possible to change the name of this node.");
56 public function delete():
void
58 throw new Forbidden(
"It is not possible to delete this node.");
65 public function put(
$data): void
67 throw new Forbidden(
"It is not possible to change this node.");