| 1 | <?php |
||
| 12 | class TempFilenameFactory |
||
| 13 | { |
||
| 14 | /** @var TempDirectory */ |
||
| 15 | private $tempDirectory; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * TempFilenameFactory constructor. |
||
| 19 | * @param TempDirectory $tempDirectory |
||
| 20 | */ |
||
| 21 | public function __construct(TempDirectory $tempDirectory) |
||
| 25 | |||
| 26 | public function getPathForLog(): string |
||
| 30 | |||
| 31 | public function getFilenameForLog(string $uniqueId): string |
||
| 35 | |||
| 36 | public function getFilenameForCoverage(string $uniqueId): string |
||
| 40 | |||
| 41 | public function getFilenameForConfiguration(): string |
||
| 45 | |||
| 46 | private function getTempFilename(string $subDir, string $filename, string $extension): string |
||
| 53 | |||
| 54 | private function getTempSubDir(string $subDir): string |
||
| 61 | } |
||
| 62 |