1 | <?php declare(strict_types=1); |
||
15 | class MethodNotAllowed extends ClientError |
||
16 | { |
||
17 | /** |
||
18 | * Construct a new 'Method Not Allowed' exception. |
||
19 | * |
||
20 | * @param string[] $allowedMethods Supported methods for the target resource. |
||
21 | * @param string[][] $headers Additional headers associated with the exception. |
||
22 | */ |
||
23 | 5 | public function __construct(array $allowedMethods, array $headers = []) |
|
30 | } |
||
31 |