| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 66.67% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class JvmFileUtils |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var BridgeAdapter |
||
| 14 | */ |
||
| 15 | protected $ba; |
||
| 16 | |||
| 17 | 9 | public function __construct(BridgeAdapter $ba) |
|
| 18 | { |
||
| 19 | 9 | $this->ba = $ba; |
|
| 20 | 9 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @throws \Soluble\Japha\Bridge\Exception\ClassNotFoundException |
||
| 24 | * @throws \Soluble\Japha\Bridge\Exception\JavaException |
||
| 25 | * @throws Exception\InvalidDirectoryException |
||
| 26 | */ |
||
| 27 | 9 | public function isDirectoryWritable(string $directory): bool |
|
| 44 | } |
||
| 45 | } |
||
| 46 |