1 | <?php |
||
4 | class InvalidMethodException extends \Exception |
||
5 | { |
||
6 | /** |
||
7 | * The http method used in the request. |
||
8 | * |
||
9 | * @var string |
||
10 | */ |
||
11 | protected $method; |
||
12 | |||
13 | /** |
||
14 | * Create a new InvalidMethodException instance. |
||
15 | * |
||
16 | * @param string $method The http method intended to use. |
||
17 | * @param string $message Custom message to be shown. |
||
18 | * @param int $code Exception code. |
||
19 | */ |
||
20 | public function __construct($method, $message = '', $code = 0) |
||
28 | } |
||
29 |