| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | trait FacetsTrait |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * The facets. |
||
| 21 | * |
||
| 22 | * @var \SimpleSAML\XMLSchema\XML\Interface\FacetInterface[] |
||
| 23 | */ |
||
| 24 | protected array $facets; |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Collect the value of the facets-property |
||
| 29 | * |
||
| 30 | * @return \SimpleSAML\XMLSchema\XML\Interface\FacetInterface[] |
||
| 31 | */ |
||
| 32 | public function getFacets(): array |
||
| 35 | } |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * Set the value of the facets-property |
||
| 40 | * |
||
| 41 | * @param \SimpleSAML\XMLSchema\XML\Interface\FacetInterface[] $facets |
||
| 42 | */ |
||
| 43 | protected function setFacets(array $facets): void |
||
| 50 |