ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ServerRequestInterface.php
Go to the documentation of this file.
1<?php
2
3namespace Psr\Http\Message;
4
44{
54 public function getServerParams();
55
66 public function getCookieParams();
67
85 public function withCookieParams(array $cookies);
86
99 public function getQueryParams();
100
123 public function withQueryParams(array $query);
124
137 public function getUploadedFiles();
138
150 public function withUploadedFiles(array $uploadedFiles);
151
167 public function getParsedBody();
168
197 public function withParsedBody($data);
198
210 public function getAttributes();
211
227 public function getAttribute($name, $default = null);
228
244 public function withAttribute($name, $value);
245
260 public function withoutAttribute($name);
261}
$default
Definition: build.php:20
An exception for terminatinating execution or to throw for unit testing.
Representation of an outgoing, client-side request.
Representation of an incoming, server-side HTTP request.
getAttributes()
Retrieve attributes derived from the request.
withAttribute($name, $value)
Return an instance with the specified derived request attribute.
withoutAttribute($name)
Return an instance that removes the specified derived request attribute.
withCookieParams(array $cookies)
Return an instance with the specified cookies.
getServerParams()
Retrieve server parameters.
withQueryParams(array $query)
Return an instance with the specified query string arguments.
getAttribute($name, $default=null)
Retrieve a single derived request attribute.
withParsedBody($data)
Return an instance with the specified body parameters.
getParsedBody()
Retrieve any parameters provided in the request body.
getUploadedFiles()
Retrieve normalized file upload data.
withUploadedFiles(array $uploadedFiles)
Create a new instance with the specified uploaded files.
getQueryParams()
Retrieve query string arguments.
$query
$data
Definition: bench.php:6