Your IP : 3.144.99.39


Current Path : /home/lentoinv/test.api.lentoria.com/vendor/league/flysystem/src/
Upload File :
Current File : //home/lentoinv/test.api.lentoria.com/vendor/league/flysystem/src/PathTraversalDetected.php

<?php

declare(strict_types=1);

namespace League\Flysystem;

use RuntimeException;

class PathTraversalDetected extends RuntimeException implements FilesystemException
{
    /**
     * @var string
     */
    private $path;

    public function path(): string
    {
        return $this->path;
    }

    public static function forPath(string $path): PathTraversalDetected
    {
        $e = new PathTraversalDetected("Path traversal detected: {$path}");
        $e->path = $path;

        return $e;
    }
}

?>