File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Exception/MethodNotAllowedException.php, line 27
Class
- MethodNotAllowedException
- The resource was found but the request method is not allowed.
Namespace
Symfony\Component\Routing\Exception
Code
public function __construct(array $allowedMethods, $message = null, $code = 0, \Exception $previous = null) {
$this->allowedMethods = array_map('strtoupper', $allowedMethods);
parent::__construct($message, $code, $previous);
}