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

Public Member Functions

 __construct (ServerRequestInterface $request, $method)
 
 getRequest ()
 

Protected Attributes

 $request
 

Detailed Description

Definition at line 13 of file InvalidMethodException.php.

Constructor & Destructor Documentation

◆ __construct()

Slim\Exception\InvalidMethodException::__construct ( ServerRequestInterface  $request,
  $method 
)

Definition at line 17 of file InvalidMethodException.php.

References Slim\Exception\InvalidMethodException\$request.

18  {
19  $this->request = $request;
20  parent::__construct(sprintf('Unsupported HTTP method "%s" provided', $method));
21  }

Member Function Documentation

◆ getRequest()

Slim\Exception\InvalidMethodException::getRequest ( )

Definition at line 23 of file InvalidMethodException.php.

References Slim\Exception\InvalidMethodException\$request.

Referenced by Slim\App\run().

+ Here is the caller graph for this function:

Field Documentation

◆ $request

Slim\Exception\InvalidMethodException::$request
protected

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