appwrite/src/Appwrite/Platform/Appwrite.php

27 lines
747 B
PHP
Raw Normal View History

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;
use Appwrite\Platform\Modules\Core;
2024-10-22 15:01:38 +00:00
use Appwrite\Platform\Modules\Functions;
2025-04-17 13:57:47 +00:00
use Appwrite\Platform\Modules\Projects;
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;
2025-02-05 13:42:19 +00:00
use Appwrite\Platform\Modules\Storage;
2024-11-18 07:38:48 +00:00
use Utopia\Platform\Platform;
2022-11-14 10:01:41 +00:00
class Appwrite extends Platform
{
public function __construct()
{
parent::__construct(new Core());
$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());
2025-02-05 13:42:19 +00:00
$this->addModule(new Storage\Module());
2022-11-14 10:01:41 +00:00
}
}