MethodNotAllowedException extends Exception

FinalYes

An exception

Internal

Table of Contents

Properties

$allowedMethods  : array<string|int, mixed>

Methods

__construct()  : mixed
createResponse()  : ResponseInterface

Properties

$allowedMethods read-only

public array<string|int, mixed> $allowedMethods

Methods

__construct()

public __construct(array<int, non-empty-string> $allowedMethods[, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$allowedMethods : array<int, non-empty-string>
$code : int = 0
$previous : Throwable|null = null

createResponse()

public createResponse() : ResponseInterface
Return values
ResponseInterface

        
On this page

Search results