ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SapiMock.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\HTTP;
4
14class SapiMock extends Sapi {
15
16 static $sent = 0;
17
25
26 self::$sent++;
27
28 }
29
30}
An exception for terminatinating execution or to throw for unit testing.
HTTP Response Mock object.
Definition: SapiMock.php:14
static sendResponse(ResponseInterface $response)
Overriding this so nothing is ever echo'd.
Definition: SapiMock.php:24
PHP SAPI.
Definition: Sapi.php:31
This interface represents a HTTP response.
$response