Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace League\Flysystem;
6
 
7
use RuntimeException;
8
 
9
final class SymbolicLinkEncountered extends RuntimeException implements FilesystemException
10
{
11
    private string $location;
12
 
13
    public function location(): string
14
    {
15
        return $this->location;
16
    }
17
 
18
    public static function atLocation(string $pathName): SymbolicLinkEncountered
19
    {
20
        $e = new static("Unsupported symbolic link encountered at location $pathName");
21
        $e->location = $pathName;
22
 
23
        return $e;
24
    }
25
}