Total Complexity | 1 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class AuthenticationFailureException extends FrameworkAuthenticationException |
||
18 | { |
||
19 | /** |
||
20 | * The framework internal error code. |
||
21 | */ |
||
22 | const INTERNAL_CODE = 10; |
||
23 | |||
24 | /** |
||
25 | * The error code property storage. |
||
26 | * |
||
27 | * @see FrameworkException::$code The default error code. |
||
28 | * |
||
29 | * @var int The exception's error code. |
||
30 | */ |
||
31 | protected $code = self::INTERNAL_CODE; |
||
32 | |||
33 | /** |
||
34 | * Get the default framework error code for this exception instance. |
||
35 | * |
||
36 | * @return int The exception's error code. |
||
37 | * @see FrameworkException::INTERNAL_CODE Default error code. |
||
38 | */ |
||
39 | 2 | public function getFrameworkErrorCode() |
|
44 |