ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
MountPoint.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\WebDAV\Entity;
22
23use Sabre\DAV\ICollection;
24use Sabre\DAV\INode;
25use Sabre\DAV\Exception\NotFound;
26
30class MountPoint extends Container implements ICollection
31{
32 #[\Override]
33 public function getName(): string
34 {
35 return 'MountPoint';
36 }
37
38 #[\Override]
39 public function getChild($name): INode
40 {
41 return $this->factory->get($name) ?? throw new NotFound($name);
42 }
43
44}
factory()