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