Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1820654
SapiMock.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
557 B
Subscribers
None
SapiMock.php
View Options
<?php
namespace
Sabre\HTTP
;
/**
* HTTP Response Mock object
*
* This class exists to make the transition to sabre/http easier.
*
* @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class
SapiMock
extends
Sapi
{
static
$sent
=
0
;
/**
* Overriding this so nothing is ever echo'd.
*
* @return void
*/
static
function
sendResponse
(
ResponseInterface
$response
)
{
self
::
$sent
++;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Dec 22, 8:02 AM (3 d, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914601
Default Alt Text
SapiMock.php (557 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment