| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 28.57% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class Directory extends Base |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Checks if the directory is a sub directory of a given directory |
||
| 23 | * |
||
| 24 | * @param \SebastianFeldmann\Camino\Path\Directory $parent |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | 2 | public function isSubDirectoryOf(Directory $parent): bool |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Factory method to create directories that actually exist |
||
| 34 | * |
||
| 35 | * @param string $path |
||
| 36 | * @return \SebastianFeldmann\Camino\Path\Directory |
||
| 37 | */ |
||
| 38 | public static function create(string $path): Directory |
||
| 47 |