CorruptedPathDetected.php 316 B

12345678910111213
  1. <?php
  2. namespace League\Flysystem;
  3. use RuntimeException;
  4. final class CorruptedPathDetected extends RuntimeException implements FilesystemException
  5. {
  6. public static function forPath(string $path): CorruptedPathDetected
  7. {
  8. return new CorruptedPathDetected("Corrupted path detected: " . $path);
  9. }
  10. }