/** * Sets variables * @param string $username * @param string $password */ function __construct($username, $password) { parent::__construct(self::URL, (string) $username, (string) $password); }
/** * Sets variables * @param string $username * @param string $password */ function __construct($username, $password) { parent::__construct(self::URL . "{$username}/CloudDrive/Documents/", (string) $username, (string) $password, CURLAUTH_ANY); }