ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
MethodNotAllowedException.php
Go to the documentation of this file.
1
<?php
9
namespace
Slim\Exception
;
10
11
use
Psr\Http\Message\ServerRequestInterface
;
12
use
Psr\Http\Message\ResponseInterface
;
13
14
class
MethodNotAllowedException
extends
SlimException
15
{
21
protected
$allowedMethods
;
22
30
public
function
__construct
(
ServerRequestInterface
$request
,
ResponseInterface
$response
,
array
$allowedMethods
)
31
{
32
parent::__construct($request, $response);
33
$this->allowedMethods =
$allowedMethods
;
34
}
35
41
public
function
getAllowedMethods
()
42
{
43
return
$this->allowedMethods
;
44
}
45
}
Slim\Exception\SlimException\$response
$response
Definition:
SlimException.php:35
Psr\Http\Message\ServerRequestInterface
Representation of an incoming, server-side HTTP request.
Definition:
ServerRequestInterface.php:43
Slim\Exception\MethodNotAllowedException\$allowedMethods
$allowedMethods
Definition:
MethodNotAllowedException.php:21
Slim\Exception\SlimException\$request
$request
Definition:
SlimException.php:28
Slim\Exception\MethodNotAllowedException
Definition:
MethodNotAllowedException.php:14
ServerRequestInterface
Slim\Exception
Slim Framework (https://slimframework.com)
Definition:
ContainerException.php:9
Psr\Http\Message\ResponseInterface
Representation of an outgoing, server-side response.
Definition:
ResponseInterface.php:20
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
Slim\Exception\MethodNotAllowedException\__construct
__construct(ServerRequestInterface $request, ResponseInterface $response, array $allowedMethods)
Create new exception.
Definition:
MethodNotAllowedException.php:30
Slim\Exception\MethodNotAllowedException\getAllowedMethods
getAllowedMethods()
Get allowed methods.
Definition:
MethodNotAllowedException.php:41
ResponseInterface
Slim\Exception\SlimException
Stop Exception.
Definition:
SlimException.php:21
libs
composer
vendor
slim
slim
Slim
Exception
MethodNotAllowedException.php
Generated on Sat Jan 18 2025 19:01:11 for ILIAS by
1.8.13 (using
Doxyfile
)