2022-11-14 10:01:41 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Appwrite\Platform;
|
|
|
|
|
|
2025-02-07 15:59:48 +00:00
|
|
|
use Appwrite\Platform\Modules\Console;
|
2024-06-09 01:03:40 +00:00
|
|
|
use Appwrite\Platform\Modules\Core;
|
2025-02-04 10:53:15 +00:00
|
|
|
use Appwrite\Platform\Modules\Projects;
|
2024-10-22 15:01:38 +00:00
|
|
|
use Appwrite\Platform\Modules\Functions;
|
2025-02-12 18:28:25 +00:00
|
|
|
use Appwrite\Platform\Modules\Proxy;
|
2024-10-22 15:01:38 +00:00
|
|
|
use Appwrite\Platform\Modules\Sites;
|
2022-11-14 10:01:41 +00:00
|
|
|
use Utopia\Platform\Platform;
|
|
|
|
|
|
|
|
|
|
class Appwrite extends Platform
|
|
|
|
|
{
|
|
|
|
|
public function __construct()
|
|
|
|
|
{
|
2024-06-09 01:03:40 +00:00
|
|
|
parent::__construct(new Core());
|
2025-02-04 10:53:15 +00:00
|
|
|
$this->addModule(new Projects\Module());
|
2024-10-22 15:01:38 +00:00
|
|
|
$this->addModule(new Functions\Module());
|
|
|
|
|
$this->addModule(new Sites\Module());
|
2025-02-07 15:59:48 +00:00
|
|
|
$this->addModule(new Console\Module());
|
2025-02-12 18:28:25 +00:00
|
|
|
$this->addModule(new Proxy\Module());
|
2022-11-14 10:01:41 +00:00
|
|
|
}
|
|
|
|
|
}
|