From 8fe6ce64b212521d8e4a807a31bc84b01fdc5eae Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 8 Apr 2024 05:05:04 +0000 Subject: [PATCH] create and use core module --- src/Appwrite/Platform/Appwrite.php | 1 + src/Appwrite/Platform/Core.php | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/Appwrite/Platform/Core.php diff --git a/src/Appwrite/Platform/Appwrite.php b/src/Appwrite/Platform/Appwrite.php index 05224799f3..289abd9429 100644 --- a/src/Appwrite/Platform/Appwrite.php +++ b/src/Appwrite/Platform/Appwrite.php @@ -10,6 +10,7 @@ class Appwrite extends Platform { public function __construct() { + parent::__construct(new Core()); $this->addService('tasks', new Tasks()); $this->addService('workers', new Workers()); } diff --git a/src/Appwrite/Platform/Core.php b/src/Appwrite/Platform/Core.php new file mode 100644 index 0000000000..1081a9800f --- /dev/null +++ b/src/Appwrite/Platform/Core.php @@ -0,0 +1,9 @@ +