mirror of
https://github.com/kuaifan/dootask.git
synced 2026-09-10 22:19:02 +00:00
19 lines
406 B
PHP
19 lines
406 B
PHP
<?php
|
|
|
|
namespace App\Services\WebDav\Nodes;
|
|
|
|
use App\Models\User;
|
|
use App\Services\FileSystem\FileSystemService;
|
|
use Sabre\DAV\SimpleCollection;
|
|
|
|
class DavRoot extends SimpleCollection
|
|
{
|
|
public function __construct(FileSystemService $files, User $user)
|
|
{
|
|
parent::__construct('root', [
|
|
new FilesRoot($files, $user),
|
|
new SharedRoot($files, $user),
|
|
]);
|
|
}
|
|
}
|