| 1 | <?php |
||
| 11 | class InvalidGrantException extends \InvalidArgumentException |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var LoginAttempt |
||
| 15 | */ |
||
| 16 | protected $loginAttempt; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Construct. |
||
| 20 | * |
||
| 21 | * @param LoginAttempt $loginAttempt |
||
| 22 | */ |
||
| 23 | 4 | public function __construct(LoginAttempt $loginAttempt, $message = '', $code = null, \Exception $previous = null) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Return denied LoginAttempt object. |
||
| 32 | * |
||
| 33 | * @return LoginAttempt |
||
| 34 | */ |
||
| 35 | 2 | public function getLoginAttempt() |
|
| 39 | } |
||
| 40 |