| Total Complexity | 6 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 91.67% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class AbstractFileProfiler implements FileProfilerInterface |
||
| 10 | { |
||
| 11 | private string $cacheDir; |
||
| 12 | |||
| 13 | 4 | public function __construct(string $cacheDir) |
|
| 14 | { |
||
| 15 | 4 | $this->cacheDir = $cacheDir; |
|
| 16 | } |
||
| 17 | |||
| 18 | 2 | public function updateFileCache(array $cache): void |
|
| 26 | } |
||
| 27 | |||
| 28 | abstract protected function getCacheFilename(): string; |
||
| 29 | |||
| 30 | 2 | private function getAbsoluteCacheFilename(): string |
|
| 40 | } |
||
| 41 | } |
||
| 42 |