AbstractTrashFile.php 460 B

12345678910111213141516171819202122
  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 Sabre\DAV\Exception\Forbidden;
  9. use Sabre\DAV\IFile;
  10. abstract class AbstractTrashFile extends AbstractTrash implements IFile, ITrash {
  11. public function put($data) {
  12. throw new Forbidden();
  13. }
  14. public function setName($name) {
  15. throw new Forbidden();
  16. }
  17. }