1 | <?php |
||
7 | class CommandException extends RuntimeException |
||
8 | { |
||
9 | const MISSING_OPTION = 2000; |
||
10 | |||
11 | /** |
||
12 | * @param string $name |
||
13 | * |
||
14 | * @return static |
||
15 | */ |
||
16 | 2 | public static function missingOption($name) |
|
23 | |||
24 | /** |
||
25 | * Get the HTTP status for the exception. |
||
26 | * |
||
27 | * @return integer |
||
28 | */ |
||
29 | 2 | public function getHttpStatus() |
|
37 | } |
||
38 |