aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/DAV/ClientMock.php
blob: 5a48b063ce8aff40a8d88b016bf87654c1e220f3 (plain) (tree)
1
2
3
4
5
6
7
8
9



                    

                                

                                 
                    




                         





                                     
                                   




                                            
                                                   





                                  
 
<?php

namespace Sabre\DAV;

use Sabre\HTTP\RequestInterface;

class ClientMock extends Client {

    public $request;
    public $response;

    public $url;
    public $curlSettings;

    /**
     * Just making this method public
     *
     * @param string $url
     * @return string
     */
    function getAbsoluteUrl($url) {

        return parent::getAbsoluteUrl($url);

    }

    function doRequest(RequestInterface $request) {

        $this->request = $request;
        return $this->response;

    }

}