extends |
RuntimeException |
|---|---|
implements |
ExceptionInterface |
The resource was found but the request method is not allowed.
This exception should trigger an HTTP 405 response in your application code.
| Methods | ||
|---|---|---|
public
|
__construct(string[] $allowedMethods, string $message = '', int $code = 0, Throwable $previous = null)
|
# |
public
|
getAllowedMethods(): string[]
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Properties | |||
|---|---|---|---|
protected
|
|
$allowedMethods = []
|
# |