| Total Complexity | 1 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class FileSystemException extends \Exception |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Method not supported message |
||
| 25 | */ |
||
| 26 | const NOT_SUPPORTED_METHOD = 'The method `{%1}` is not supported on current `{%2}` adapter'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $methodName |
||
| 30 | * @param string $adapterName |
||
| 31 | * @return \Quantum\Exceptions\FileSystemException |
||
| 32 | */ |
||
| 33 | public static function methodNotSupported(string $methodName, string $adapterName): FileSystemException |
||
| 38 |