mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-01 19:09:27 +00:00
28 lines
454 B
PHP
28 lines
454 B
PHP
<?php
|
|
|
|
class Sabre_DAV_ClientMock extends Sabre_DAV_Client {
|
|
|
|
public $response;
|
|
|
|
public $url;
|
|
public $curlSettings;
|
|
|
|
protected function curlRequest($url, $curlSettings) {
|
|
|
|
$this->url = $url;
|
|
$this->curlSettings = $curlSettings;
|
|
return $this->response;
|
|
|
|
}
|
|
|
|
/**
|
|
* Just making this method public
|
|
*/
|
|
public function getAbsoluteUrl($url) {
|
|
|
|
return parent::getAbsoluteUrl($url);
|
|
|
|
}
|
|
|
|
}
|