| Total Complexity | 4 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait IDNameQualifiersTrait |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The security or administrative domain that qualifies the identifier. |
||
| 17 | * This attribute provides a means to federate identifiers from disparate user stores without collision. |
||
| 18 | * |
||
| 19 | * @see saml-core-2.0-os |
||
| 20 | * |
||
| 21 | * @var string|null |
||
| 22 | */ |
||
| 23 | protected $NameQualifier = null; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Further qualifies an identifier with the name of a service provider or affiliation of providers. |
||
| 27 | * This attribute provides an additional means to federate identifiers on the basis of the relying party or parties. |
||
| 28 | * |
||
| 29 | * @see saml-core-2.0-os |
||
| 30 | * |
||
| 31 | * @var string|null |
||
| 32 | */ |
||
| 33 | protected $SPNameQualifier = null; |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Collect the value of the NameQualifier-property |
||
| 38 | * |
||
| 39 | * @return string|null |
||
| 40 | */ |
||
| 41 | public function getNameQualifier(): ?string |
||
| 44 | } |
||
| 45 | |||
| 46 | |||
| 47 | /** |
||
| 48 | * Set the value of the NameQualifier-property |
||
| 49 | * |
||
| 50 | * @param string|null $nameQualifier |
||
| 51 | * @return void |
||
| 52 | */ |
||
| 53 | private function setNameQualifier(?string $nameQualifier): void |
||
| 54 | { |
||
| 55 | $this->NameQualifier = $nameQualifier; |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Collect the value of the SPNameQualifier-property |
||
| 60 | * |
||
| 61 | * @return string|null |
||
| 62 | */ |
||
| 63 | public function getSPNameQualifier(): ?string |
||
| 66 | } |
||
| 67 | |||
| 68 | |||
| 69 | /** |
||
| 70 | * Set the value of the SPNameQualifier-property |
||
| 71 | * |
||
| 72 | * @param string|null $spNameQualifier |
||
| 73 | * @return void |
||
| 74 | */ |
||
| 75 | private function setSPNameQualifier(?string $spNameQualifier): void |
||
| 78 | } |
||
| 79 | } |
||
| 80 |