19declare(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 the root");
56 public function delete():
void
58 throw new Forbidden(
"It is not possible to delete the root");