private function init() { if ($this->ready) { return; } $this->ready = true; $settings = array('baseUri' => $this->createBaseUri(), 'userName' => $this->user, 'password' => $this->password); $this->client = new \Sabre\DAV\Client($settings); $this->client->setVerifyPeer(false); }