appwrite/src/Appwrite/Platform/Appwrite.php

25 lines
660 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;
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()
{
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());
2022-11-14 10:01:41 +00:00
}
}