1
0

TrashFolder.php 409 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\Files_Trashbin\Sabre;
  8. use OCA\Files_Trashbin\Trashbin;
  9. class TrashFolder extends AbstractTrashFolder {
  10. public function getName(): string {
  11. return Trashbin::getTrashFilename($this->data->getName(), $this->getDeletionTime());
  12. }
  13. }