Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class TenantException extends Exception |
||
8 | { |
||
9 | |||
10 | public static function fileDoesNotExist(string $path) |
||
11 | { |
||
12 | return new static("File `{$path}` does not exist"); |
||
13 | } |
||
14 | |||
15 | public static function unknownType() |
||
16 | { |
||
17 | return new static("Only strings, FileObjects and UploadedFileObjects can be imported"); |
||
18 | } |
||
19 | |||
20 | public static function diskDoesNotExist($diskName) |
||
23 | } |
||
24 | } |
||
25 |