| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class LocalInfo extends FileSystemInfo |
||
| 17 | { |
||
| 18 | public const ROOT_DIR_KEY = 'directory'; |
||
| 19 | public const WRITE_FLAGS_KEY = 'write-flags'; |
||
| 20 | public const LINK_HANDLING_KEY = 'link-handling'; |
||
| 21 | public const HOST_KEY = 'host'; |
||
| 22 | |||
| 23 | protected const FILE_SYSTEM_INFO_TYPE = 'local'; |
||
| 24 | |||
| 25 | protected const REQUIRED_OPTIONS = [ |
||
| 26 | self::ROOT_DIR_KEY => self::STRING_TYPE, |
||
| 27 | ]; |
||
| 28 | |||
| 29 | protected const ADDITIONAL_OPTIONS = [ |
||
| 30 | self::VISIBILITY_KEY => self::ARRAY_TYPE, |
||
| 31 | self::WRITE_FLAGS_KEY => self::INT_TYPE, |
||
| 32 | self::LINK_HANDLING_KEY => self::INT_TYPE, |
||
| 33 | self::HOST_KEY => self::STRING_TYPE, |
||
| 34 | ]; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var class-string |
||
|
|
|||
| 38 | */ |
||
| 39 | protected $resolver = LocalSystemResolver::class; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritDoc |
||
| 43 | */ |
||
| 44 | public function isAdvancedUsage(): bool |
||
| 59 |