| 1 | <?php |
||
| 13 | class TempFilenameFactory |
||
| 14 | { |
||
| 15 | /** @var TempDirectory */ |
||
| 16 | private $tempDirectory; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * TempFilenameFactory constructor. |
||
| 20 | * @param TempDirectory $tempDirectory |
||
| 21 | */ |
||
| 22 | 52 | public function __construct(TempDirectory $tempDirectory) |
|
| 26 | |||
| 27 | 42 | public function getPathForLog(): string |
|
| 31 | |||
| 32 | 39 | public function getFilenameForLog(string $uniqueId): string |
|
| 36 | |||
| 37 | 6 | public function getFilenameForCoverage(string $uniqueId): string |
|
| 41 | |||
| 42 | 1 | public function getFilenameForConfiguration(): string |
|
| 46 | |||
| 47 | 41 | private function getTempFilename(string $subDir, string $filename, string $extension): string |
|
| 54 | |||
| 55 | 44 | private function getTempSubDir(string $subDir): string |
|
| 62 | } |
||
| 63 |