mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
24 lines
686 B
PHP
24 lines
686 B
PHP
<?php
|
|
|
|
namespace Appwrite\Platform\Modules\Databases\Services;
|
|
|
|
use Appwrite\Platform\Modules\Databases\Services\Registry\Collections as CollectionsRegistry;
|
|
use Appwrite\Platform\Modules\Databases\Services\Registry\Databases as DatabasesRegistry;
|
|
use Appwrite\Platform\Modules\Databases\Services\Registry\Tables as TablesRegistry;
|
|
use Utopia\Platform\Service;
|
|
|
|
class Http extends Service
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->type = Service::TYPE_HTTP;
|
|
|
|
foreach ([
|
|
DatabasesRegistry::class,
|
|
CollectionsRegistry::class,
|
|
TablesRegistry::class,
|
|
] as $registrar) {
|
|
new $registrar($this);
|
|
}
|
|
}
|
|
}
|