CorruptedPathDetected.php 356 B

1234567891011121314151617
  1. <?php
  2. namespace League\Flysystem;
  3. use LogicException;
  4. class CorruptedPathDetected extends LogicException implements FilesystemException
  5. {
  6. /**
  7. * @param string $path
  8. * @return CorruptedPathDetected
  9. */
  10. public static function forPath($path)
  11. {
  12. return new CorruptedPathDetected("Corrupted path detected: " . $path);
  13. }
  14. }