Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
62 | protected function initAdapter() |
||
63 | { |
||
64 | $config = array_filter( |
||
65 | [ |
||
66 | 'baseUri' => $this->baseUri, |
||
67 | 'userName' => $this->userName, |
||
68 | 'password' => $this->password, |
||
69 | 'proxy' => $this->proxy, |
||
70 | 'authType' => $this->authType, |
||
71 | 'encoding' => $this->encoding, |
||
72 | ] |
||
73 | ); |
||
74 | |||
75 | return new WebDAVAdapter(new Client($config), $this->prefix); |
||
76 | } |
||
77 | } |
||
78 |