Class MethodNotAllowedException
Stop Exception
This Exception is thrown when the Slim application needs to abort processing and return control flow to the outer PHP script.
- Exception implements Throwable
-
Slim\Exception\SlimException
-
Slim\Exception\MethodNotAllowedException
Methods summary
public
|
#
__construct( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, array $allowedMethods )
Create new exception |
public
string[]
|
Methods inherited from Slim\Exception\SlimException
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Properties summary
protected
string[]
|
$allowedMethods
HTTP methods allowed |
Properties inherited from Slim\Exception\SlimException
Properties inherited from Exception
$code,
$file,
$line,
$message