ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ClientMock.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\DAV
;
4
5
use
Sabre\HTTP\RequestInterface
;
6
7
class
ClientMock
extends
Client
{
8
9
public
$request
;
10
public
$response
;
11
12
public
$url
;
13
public
$curlSettings
;
14
21
function
getAbsoluteUrl
(
$url
) {
22
23
return
parent::getAbsoluteUrl(
$url
);
24
25
}
26
27
function
doRequest
(
RequestInterface
$request
) {
28
29
$this->
request
=
$request
;
30
return
$this->response
;
31
32
}
33
34
}
Sabre\DAV
Sabre\DAV\ClientMock\doRequest
doRequest(RequestInterface $request)
Definition:
ClientMock.php:27
Sabre\HTTP\RequestInterface
The RequestInterface represents a HTTP request.
Definition:
RequestInterface.php:12
Sabre\DAV\ClientMock
Definition:
ClientMock.php:7
Sabre\DAV\ClientMock\$curlSettings
$curlSettings
Definition:
ClientMock.php:13
Sabre\DAV\ClientMock\getAbsoluteUrl
getAbsoluteUrl($url)
Just making this method public.
Definition:
ClientMock.php:21
Sabre\DAV\ClientMock\$url
$url
Definition:
ClientMock.php:12
Sabre\DAV\Client\request
request($method, $url='', $body=null, array $headers=[])
Performs an actual HTTP request, and returns the result.
Definition:
Client.php:369
Sabre\DAV\ClientMock\$request
$request
Definition:
ClientMock.php:9
RequestInterface
Sabre\DAV\ClientMock\$response
$response
Definition:
ClientMock.php:10
Sabre\DAV\Client
SabreDAV DAV client.
Definition:
Client.php:20
php
libs
composer
vendor
sabre
dav
tests
Sabre
DAV
ClientMock.php
Generated on Thu Feb 27 2025 19:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)