| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class TemporaryDirectories |
||
| 8 | { |
||
| 9 | public static $manager; |
||
| 10 | |||
| 11 | private static function manager(): Manager |
||
| 18 | } |
||
| 19 | |||
| 20 | public static function create(): string |
||
| 21 | { |
||
| 22 | return static::manager()->createTemporaryDirectory(); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Loop through all directories and delete them. |
||
| 27 | */ |
||
| 28 | public static function deleteAll(): void |
||
| 31 | } |
||
| 32 | } |
||
| 33 |