MethodNotAllowedException
class MethodNotAllowedException extends HttpException
Method not allowed exception.
Properties
protected | $defaultMessage | {@inheritdoc} | |
protected array | $allowedMethods | Allowed methods. |
Methods
__construct(array $allowedMethods = [], string $message = '', Throwable|null $previous = null)
Constructor.
array
getAllowedMethods()
Returns the allowed methods.
Details
at line 38
__construct(array $allowedMethods = [], string $message = '', Throwable|null $previous = null)
Constructor.
at line 50
array
getAllowedMethods()
Returns the allowed methods.