mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
create and use core module
This commit is contained in:
parent
4d15e0dbd2
commit
8fe6ce64b2
2 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class Appwrite extends Platform
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
parent::__construct(new Core());
|
||||||
$this->addService('tasks', new Tasks());
|
$this->addService('tasks', new Tasks());
|
||||||
$this->addService('workers', new Workers());
|
$this->addService('workers', new Workers());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
9
src/Appwrite/Platform/Core.php
Normal file
9
src/Appwrite/Platform/Core.php
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Appwrite\Platform;
|
||||||
|
|
||||||
|
use Utopia\Platform\Module;
|
||||||
|
|
||||||
|
class Core extends Module
|
||||||
|
{
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue