ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
ResponseInterface.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Psr\Http\Message
;
4
20
interface
ResponseInterface
extends
MessageInterface
21
{
30
public
function
getStatusCode
();
31
52
public
function
withStatus
(
$code
, $reasonPhrase =
''
);
53
67
public
function
getReasonPhrase
();
68
}
Psr\Http\Message
Definition:
MessageInterface.php:3
Psr\Http\Message\ResponseInterface\getReasonPhrase
getReasonPhrase()
Gets the response reason phrase associated with the status code.
Psr\Http\Message\MessageInterface
HTTP messages consist of requests from a client to a server and responses from a server to a client...
Definition:
MessageInterface.php:17
$code
$code
Definition:
example_050.php:99
Psr\Http\Message\ResponseInterface\withStatus
withStatus($code, $reasonPhrase='')
Return an instance with the specified status code and, optionally, reason phrase. ...
Psr\Http\Message\ResponseInterface\getStatusCode
getStatusCode()
Gets the response status code.
Psr\Http\Message\ResponseInterface
Representation of an outgoing, server-side response.
Definition:
ResponseInterface.php:20
libs
composer
vendor
psr
http-message
src
ResponseInterface.php
Generated on Sat Jan 18 2025 19:01:08 for ILIAS by
1.8.13 (using
Doxyfile
)