AbstractCalDavManager

🔧 __construct

Constructor
function __construct($baseUrl, $username, $password, $authMethod = 'digest') { $this->baseUrl = rtrim($baseUrl, '/'); $this->username = $username; $this->password = $password; // Set the authentication method if ($authMethod === 'digest') { $this->authMethod = CURLAUTH_DIGEST; } else if ($authMethod === 'basic') { $this->authMethod = CURLAUTH_BASIC; } else { $this->authMethod = CURLAUTH_ANY; // ... (truncated)

⚙️ Parameters