diff --git a/src/Appwrite/Utopia/Request/Filter.php b/src/Appwrite/Utopia/Request/Filter.php index 8d97424b29..896a413f77 100644 --- a/src/Appwrite/Utopia/Request/Filter.php +++ b/src/Appwrite/Utopia/Request/Filter.php @@ -26,14 +26,23 @@ abstract class Filter */ abstract public function parse(array $content, string $model): array; + /** + * Get the current route context. + * + * @return null|Route + */ public function getRoute(): ?Route { return $this->route; } + /** + * Get the database for the current project. + * + * @return null|Database + */ public function getDbForProject(): ?Database { - return $this->dbForProject; } }