mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-28 05:05:41 +00:00
23 lines
433 B
PHP
23 lines
433 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Mailcow\Dovecot;
|
|
|
|
use Mailcow\Dovecot\Service\DovecotService;
|
|
|
|
/**
|
|
* Dovecot through dockerapi (ACLs, subscriptions, auth cache). Modules use it instead of calling docker().
|
|
*/
|
|
class DovecotModule
|
|
{
|
|
public function __construct(public readonly DovecotService $dovecot)
|
|
{
|
|
}
|
|
|
|
public static function create(): self
|
|
{
|
|
return new self(new DovecotService());
|
|
}
|
|
}
|