MethodNotAllowedException

final class \TYPO3\CMS\Core\Http\Error\MethodNotAllowedException

Extends
Exception

An exception

Table of Contents

Properties

$allowedMethods  : array

Methods

__construct()  : mixed
createResponse()  : ResponseInterface

Properties

$allowedMethods read-only

public array $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