Total Complexity | 11 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class CollectorRepository implements CollectorRepositoryInterface |
||
11 | { |
||
12 | private StorageInterface $storage; |
||
13 | |||
14 | public function __construct(StorageInterface $storage) |
||
17 | } |
||
18 | |||
19 | public function getSummary(?string $id = null): array |
||
27 | } |
||
28 | |||
29 | public function getDetail(string $id): array |
||
30 | { |
||
31 | return $this->loadData(StorageInterface::TYPE_DATA, $id); |
||
32 | } |
||
33 | |||
34 | public function getDumpObject(string $id): array |
||
37 | } |
||
38 | |||
39 | public function getObject(string $id, string $objectId) |
||
50 | } |
||
51 | |||
52 | private function loadData(string $fileType, ?string $id = null): array |
||
66 |