X

Create New Item

File Folder

X

Search Results

File "SabreServerTest.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/league/flysystem/src/WebDAV/SabreServerTest.php
File size: 410 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

declare(strict_types=1);

namespace League\Flysystem\WebDAV;

use League\Flysystem\FilesystemAdapter;
use Sabre\DAV\Client;

class SabreServerTest extends WebDAVAdapterTestCase
{
    protected static function createFilesystemAdapter(): FilesystemAdapter
    {
        $client = new Client(['baseUri' => 'http://localhost:4040/']);

        return new WebDAVAdapter($client, 'directory/prefix');
    }
}