ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Slim\Exception\MethodNotAllowedException Class Reference
+ Inheritance diagram for Slim\Exception\MethodNotAllowedException:
+ Collaboration diagram for Slim\Exception\MethodNotAllowedException:

Public Member Functions

 __construct (ServerRequestInterface $request, ResponseInterface $response, array $allowedMethods)
 Create new exception. More...
 
 getAllowedMethods ()
 Get allowed methods. More...
 
- Public Member Functions inherited from Slim\Exception\SlimException
 __construct (ServerRequestInterface $request, ResponseInterface $response)
 Create new exception. More...
 
 getRequest ()
 Get request. More...
 
 getResponse ()
 Get response. More...
 

Protected Attributes

 $allowedMethods
 
- Protected Attributes inherited from Slim\Exception\SlimException
 $request
 
 $response
 

Detailed Description

Definition at line 14 of file MethodNotAllowedException.php.

Constructor & Destructor Documentation

◆ __construct()

Slim\Exception\MethodNotAllowedException::__construct ( ServerRequestInterface  $request,
ResponseInterface  $response,
array  $allowedMethods 
)

Create new exception.

Parameters
ServerRequestInterface$request
ResponseInterface$response
string[]$allowedMethods

Definition at line 30 of file MethodNotAllowedException.php.

References Slim\Exception\MethodNotAllowedException\$allowedMethods.

Member Function Documentation

◆ getAllowedMethods()

Slim\Exception\MethodNotAllowedException::getAllowedMethods ( )

Get allowed methods.

Returns
string[]

Definition at line 41 of file MethodNotAllowedException.php.

References Slim\Exception\MethodNotAllowedException\$allowedMethods.

Field Documentation

◆ $allowedMethods

Slim\Exception\MethodNotAllowedException::$allowedMethods
protected

The documentation for this class was generated from the following file: