1 | <?php |
||
8 | class HostedDomainException extends \Exception |
||
9 | { |
||
10 | private $hostedDomainConfigured; |
||
11 | |||
12 | private $hostedDomainOfUser; |
||
13 | |||
14 | /** |
||
15 | * HostedDomainException constructor. |
||
16 | * @param string $hostedDomainConfigured |
||
17 | * @param string|null $hostedDomainOfUser |
||
18 | */ |
||
19 | public function __construct($hostedDomainConfigured, $hostedDomainOfUser) |
||
25 | |||
26 | /** |
||
27 | * The hosted domain configured for this provider. |
||
28 | * @return string |
||
29 | */ |
||
30 | public function getHostedDomainConfigured() |
||
34 | |||
35 | /** |
||
36 | * The hosted domain of the user. Non G-Suite users do not have hosted domains |
||
37 | * @return string|null |
||
38 | */ |
||
39 | public function getHostedDomainOfUser() |
||
43 | } |
||
44 |