| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class File extends Base |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Returns a directory instance of its location |
||
| 21 | * |
||
| 22 | * @return \SebastianFeldmann\Camino\Path\Directory |
||
| 23 | */ |
||
| 24 | 1 | public function getDirectory(): Directory |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Is the file located in a given directory |
||
| 31 | * |
||
| 32 | * @param \SebastianFeldmann\Camino\Path\Directory $directory |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | 2 | public function isInDirectory(Directory $directory): bool |
|
| 40 |