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