| 1 | <?php |
||
| 10 | class DomainIdentity extends SesIdentity implements IdentityInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Domain identity constructor. |
||
| 14 | * |
||
| 15 | * @param string $identity domain |
||
| 16 | * |
||
| 17 | * @throws InvalidIdentityException |
||
| 18 | */ |
||
| 19 | 12 | public function __construct($identity) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Get the domain for this identity |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 4 | public function getDomain() |
|
| 38 | } |
||
| 39 |