ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
MethodNotAllowedException.php
Go to the documentation of this file.
1 <?php
9 namespace Slim\Exception;
10 
13 
15 {
21  protected $allowedMethods;
22 
31  {
32  parent::__construct($request, $response);
33  $this->allowedMethods = $allowedMethods;
34  }
35 
41  public function getAllowedMethods()
42  {
43  return $this->allowedMethods;
44  }
45 }
Representation of an incoming, server-side HTTP request.
Slim Framework (https://slimframework.com)
Representation of an outgoing, server-side response.
Create styles array
The data for the language used.
__construct(ServerRequestInterface $request, ResponseInterface $response, array $allowedMethods)
Create new exception.