| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class Registry implements RegistryInterface |
||
| 14 | { |
||
| 15 | /** @var FacetInterface[] */ |
||
| 16 | private $facets = []; |
||
| 17 | |||
| 18 | public function addFacet(string $facetId, FacetInterface $facet): void |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return FacetInterface[] |
||
| 25 | */ |
||
| 26 | public function getFacets(): array |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getFacetById(string $facetId): FacetInterface |
||
| 40 |