1 | <?php declare(strict_types = 1); |
||
12 | class MethodNotAllowedException extends RuntimeException |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | * |
||
17 | * @param array $allowedMethods |
||
18 | */ |
||
19 | public function __construct(array $allowedMethods, \Exception $previous = null) |
||
23 | |||
24 | /** |
||
25 | * Builds error message |
||
26 | * |
||
27 | * @param array $allowedMethods |
||
28 | * @return string |
||
29 | */ |
||
30 | protected function buildMessage(array $allowedMethods): string |
||
40 | } |