28 lines
526 B
PHP
28 lines
526 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2023 F7cloud GmbH and F7cloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\GroupFolders\DAV;
|
|
|
|
use OC\Files\View;
|
|
use OCA\DAV\Connector\Sabre\Directory;
|
|
use OCP\Files\FileInfo;
|
|
|
|
class GroupFolderNode extends Directory {
|
|
public function __construct(
|
|
View $view,
|
|
FileInfo $info,
|
|
private readonly int $folderId,
|
|
) {
|
|
parent::__construct($view, $info);
|
|
}
|
|
|
|
public function getFolderId(): int {
|
|
return $this->folderId;
|
|
}
|
|
}
|