TrashFolderFile.php 359 B

123456789101112131415
  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. class TrashFolderFile extends AbstractTrashFile {
  9. public function get() {
  10. return $this->data->getStorage()->fopen($this->data->getInternalPath(), 'rb');
  11. }
  12. }