| Total Complexity | 6 |
| Total Lines | 74 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class WebDAVAdapter extends Adapter |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | public $baseUri; |
||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $userName; |
||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $password; |
||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | public $proxy; |
||
| 39 | /** |
||
| 40 | * @var integer |
||
| 41 | */ |
||
| 42 | public $authType; |
||
| 43 | /** |
||
| 44 | * @var integer |
||
| 45 | */ |
||
| 46 | public $encoding; |
||
| 47 | /** |
||
| 48 | * @var string|null |
||
| 49 | */ |
||
| 50 | public $prefix; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @inheritdoc |
||
| 54 | */ |
||
| 55 | public function init() |
||
| 56 | { |
||
| 57 | if ($this->baseUri === null) { |
||
| 58 | throw new InvalidConfigException('The "baseUri" property must be set.'); |
||
| 59 | } |
||
| 60 | |||
| 61 | parent::init(); |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @inheritdoc |
||
| 66 | */ |
||
| 67 | public static function displayName(): string |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return \League\Flysystem\WebDAV\WebDAVAdapter |
||
| 74 | */ |
||
| 75 | protected function prepareAdapter() |
||
| 97 | } |