Class MethodNotAllowedException
The resource was found but the request method is not allowed.
This exception should trigger an HTTP 405 response in your application code.
- Exception
-
RuntimeException
-
Symfony\Component\Routing\Exception\MethodNotAllowedException
implements
Symfony\Component\Routing\Exception\ExceptionInterface
Namespace: Symfony\Component\Routing\Exception
Author: Kris Wallsmith <kris@symfony.com>
Located at Exception/MethodNotAllowedException.php
Author: Kris Wallsmith <kris@symfony.com>
Located at Exception/MethodNotAllowedException.php
public
|
#
__construct( array $allowedMethods, mixed $message = null, mixed $code = 0,
|
public
array
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
protected
array
|
$allowedMethods | array() |
$code,
$file,
$line,
$message
|