Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | final class Registry implements RegistryInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var FacetInterface[] |
||
10 | */ |
||
11 | private $facets = []; |
||
12 | |||
13 | public function addFacet(string $facetId, FacetInterface $facet): void |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @return FacetInterface[] |
||
20 | */ |
||
21 | public function getFacets(): array |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param string $facetId |
||
28 | * @return FacetInterface |
||
29 | */ |
||
30 | public function getFacetById(string $facetId): FacetInterface |
||
38 |