| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class AfterFacetParsedEvent |
||
| 27 | { |
||
| 28 | private AbstractFacet $facet; |
||
| 29 | private array $facetConfiguration; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param AbstractFacet $facet |
||
| 33 | * @param array $facetConfiguration |
||
| 34 | */ |
||
| 35 | public function __construct(AbstractFacet $facet, array $facetConfiguration) |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Returns the class name of the facet |
||
| 43 | * |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getFacetType(): string |
||
| 47 | { |
||
| 48 | return get_class($this->facet); |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return AbstractFacet |
||
| 53 | */ |
||
| 54 | public function getFacet(): AbstractFacet |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return array |
||
| 61 | */ |
||
| 62 | public function getFacetConfiguration(): array |
||
| 65 | } |
||
| 66 | } |
||
| 67 |