| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ChainWorkDirManager |
||
| 10 | { |
||
| 11 | private string $tmpBaseDir; |
||
| 12 | |||
| 13 | private Filesystem $tmpFileSystem; |
||
| 14 | |||
| 15 | public function __construct(string $tmpBaseDir, Filesystem $tmpFileSystem) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param EtlExecution $execution |
||
| 23 | * @param bool $createIfMissing |
||
| 24 | * @return string |
||
| 25 | * |
||
| 26 | * @throws IOException if directory can't be created. |
||
| 27 | */ |
||
| 28 | public function getLocalTmpWorkDir(EtlExecution $execution, $createIfMissing = true): string |
||
| 38 | } |
||
| 39 | } |