| 1 | <?php |
||
| 7 | class CommandException extends RuntimeException |
||
| 8 | { |
||
| 9 | const MISSING_OPTION = 2000; |
||
| 10 | |||
| 11 | /* |
||
| 12 | * @param array $names |
||
| 13 | * |
||
| 14 | * @return static |
||
| 15 | * |
||
| 16 | * @since 1.2.0 |
||
| 17 | */ |
||
| 18 | 1 | public static function missingOptions(array $names) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $name |
||
| 28 | * |
||
| 29 | * @return static |
||
| 30 | * |
||
| 31 | * @deprecated 1.2.0 |
||
| 32 | */ |
||
| 33 | 1 | public static function missingOption($name) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Get the HTTP status for the exception. |
||
| 43 | * |
||
| 44 | * @return integer |
||
| 45 | */ |
||
| 46 | 2 | public function getHttpStatus() |
|
| 54 | } |
||
| 55 |