| 1 | <?php |
||
| 18 | final class Birthdate implements Claim |
||
| 19 | { |
||
| 20 | private const CLAIM_NAME = 'birthdate'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | public function name(): string |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function isAvailableForUserAccount(UserAccount $userAccount, ?string $claimLocale):bool |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function getForUserAccount(UserAccount $userAccount, ?string $claimLocale) |
||
| 45 | } |
||
| 46 |