IFileCheck.php 517 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\WorkflowEngine;
  8. use OCP\Files\Storage\IStorage;
  9. /**
  10. * Interface IFileCheck
  11. *
  12. * @since 18.0.0
  13. */
  14. interface IFileCheck extends IEntityCheck {
  15. /**
  16. * @param IStorage $storage
  17. * @param string $path
  18. * @param bool $isDir
  19. * @since 18.0.0
  20. */
  21. public function setFileInfo(IStorage $storage, string $path, bool $isDir = false): void;
  22. }