File: /home/barbeatleanalyti/www/public_html/webmail/vendor/sabre/dav/tests/Sabre/HTTP/SapiMock.php
<?php
namespace Sabre\HTTP;
/**
* HTTP Response Mock object
*
* This class exists to make the transition to sabre/http easier.
*
* @copyright Copyright (C) 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.
*
* @param ResponseInterface $response
* @return void
*/
static function sendResponse(ResponseInterface $response) {
self::$sent++;
}
}