| 1 | <?php |
||
| 8 | class MethodNotAllowedException extends \Exception |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | protected $_allowedMethods = array(); |
||
| 14 | |||
| 15 | public function __construct(array $allowedMethods, $message = null, $code = 0, $previous = null) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Gets the allowed HTTP methods. |
||
| 24 | * @return array |
||
| 25 | */ |
||
| 26 | public function getAllowedMethods() |
||
| 30 | } |
||
| 31 |