| 1 | <?php |
||
| 18 | final class FamilyName implements Claim |
||
| 19 | { |
||
| 20 | private const CLAIM_NAME = 'family_name'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | public function name(): string |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function isAvailableForUserAccount(UserAccount $userAccount, ?string $claimLocale):bool |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function getForUserAccount(UserAccount $userAccount, ?string $claimLocale) |
||
| 49 | |||
| 50 | private function getComputedClaimName(string $claimLocale): string |
||
| 54 | } |
||
| 55 |