Merge branch 'main' of https://github.com/appwrite/appwrite into bump-database-7.3.4

This commit is contained in:
fogelito committed 2026-09-03 11:24:33 +03:00
commit 84aec17d40
1 file changed
+25
+25
View File
@@ -122,6 +122,11 @@ class Context
return $this;
}
public function getCountry(): string
{
return $this->country;
}
public function setRegion(string $region): static
{
$this->region = $region;
@@ -152,12 +157,22 @@ class Context
return $this;
}
public function getHostname(): string
{
return $this->hostname;
}
public function setUserAgent(string $userAgent): static
{
$this->userAgent = $userAgent;
return $this;
}
public function getUserAgent(): string
{
return $this->userAgent;
}
public function setIp(string $ip): static
{
$this->ip = $ip;
@@ -175,12 +190,22 @@ class Context
return $this;
}
public function getSdk(): string
{
return $this->sdk;
}
public function setSdkVersion(string $sdkVersion): static
{
$this->sdkVersion = $sdkVersion;
return $this;
}
public function getSdkVersion(): string
{
return $this->sdkVersion;
}
/**
* Add a metric with the metadata active at the time it was emitted.
*/