ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
InvalidMethodException.php
Go to the documentation of this file.
1
<?php
9
namespace
Slim\Exception
;
10
11
use
Psr\Http\Message\ServerRequestInterface
;
12
13
class
InvalidMethodException
extends
\InvalidArgumentException
14
{
15
protected
$request
;
16
17
public
function
__construct
(
ServerRequestInterface
$request
, $method)
18
{
19
$this->request =
$request
;
20
parent::__construct(sprintf(
'Unsupported HTTP method "%s" provided'
, $method));
21
}
22
23
public
function
getRequest
()
24
{
25
return
$this->request
;
26
}
27
}
Slim\Exception\InvalidMethodException\$request
$request
Definition:
InvalidMethodException.php:15
Psr\Http\Message\ServerRequestInterface
Representation of an incoming, server-side HTTP request.
Definition:
ServerRequestInterface.php:43
Slim\Exception\InvalidMethodException\getRequest
getRequest()
Definition:
InvalidMethodException.php:23
ServerRequestInterface
Slim\Exception
Slim Framework (https://slimframework.com)
Definition:
ContainerException.php:9
Slim\Exception\InvalidMethodException
Definition:
InvalidMethodException.php:13
Slim\Exception\InvalidMethodException\__construct
__construct(ServerRequestInterface $request, $method)
Definition:
InvalidMethodException.php:17
libs
composer
vendor
slim
slim
Slim
Exception
InvalidMethodException.php
Generated on Sat Jan 18 2025 19:01:11 for ILIAS by
1.8.13 (using
Doxyfile
)