mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-28 21:15:42 +00:00
23 lines
414 B
PHP
23 lines
414 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Mailcow\Sogo;
|
|
|
|
use Mailcow\Sogo\Service\SogoService;
|
|
|
|
/**
|
|
* SOGo (user view, cache, sogo-tool through dockerapi). Modules use it instead of the legacy SOGo functions.
|
|
*/
|
|
class SogoModule
|
|
{
|
|
public function __construct(public readonly SogoService $sogo)
|
|
{
|
|
}
|
|
|
|
public static function create(): self
|
|
{
|
|
return new self(new SogoService());
|
|
}
|
|
}
|