ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
SapiMock.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\HTTP
;
4
14
class
SapiMock
extends
Sapi
{
15
16
static
$sent
= 0;
17
24
static
function
sendResponse
(
ResponseInterface
$response
) {
25
26
self::$sent++;
27
28
}
29
30
}
Sabre\HTTP\ResponseInterface
This interface represents a HTTP response.
Definition:
ResponseInterface.php:12
Sabre\HTTP
Definition:
ResponseMock.php:3
Sabre\HTTP\Sapi
PHP SAPI.
Definition:
Sapi.php:31
Sabre\HTTP\SapiMock\$sent
static $sent
Definition:
SapiMock.php:16
Sabre\HTTP\SapiMock\sendResponse
static sendResponse(ResponseInterface $response)
Overriding this so nothing is ever echo'd.
Definition:
SapiMock.php:24
Sabre\HTTP\SapiMock
HTTP Response Mock object.
Definition:
SapiMock.php:14
php
$response
$response
Definition:
proxy_ylocal.php:39
libs
composer
vendor
sabre
dav
tests
Sabre
HTTP
SapiMock.php
Generated on Thu Jan 16 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)