| Total Complexity | 6 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 90.91% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | abstract class AbstractJsonFileProfiler implements FileProfilerInterface |
||
| 12 | { |
||
| 13 | private string $profilerDir; |
||
| 14 | |||
| 15 | 1 | public function __construct(string $profilerDir) |
|
| 16 | { |
||
| 17 | 1 | $this->profilerDir = $profilerDir; |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | public function updateProfiler(array $data): void |
|
| 25 | } |
||
| 26 | |||
| 27 | abstract protected function getProfilerFilename(): string; |
||
| 28 | |||
| 29 | 1 | private function getAbsoluteProfilerFilename(): string |
|
| 41 |