. */ namespace SP\Core; use SP\Domain\Providers\Acl\AclHandler; use SP\Domain\Providers\Log\DatabaseLogHandler; use SP\Domain\Providers\Log\FileLogHandler; use SP\Domain\Providers\Log\RemoteSyslogHandler; use SP\Domain\Providers\Log\SyslogHandler; use SP\Domain\Providers\Mail\MailHandler; use SP\Domain\Providers\Notification\NotificationHandler; /** * The Provider helper class will have oll the providers availabe in the application */ final readonly class ProvidersHelper { public function __construct( private FileLogHandler $fileLogHandler, private ?DatabaseLogHandler $databaseLogHandler = null, private ?MailHandler $mailHandler = null, private ?SyslogHandler $syslogHandler = null, private ?RemoteSyslogHandler $remoteSyslogHandler = null, private ?AclHandler $aclHandler = null, private ?NotificationHandler $notificationHandler = null ) { } public function getFileLogHandler(): FileLogHandler { return $this->fileLogHandler; } public function getDatabaseLogHandler(): DatabaseLogHandler { return $this->databaseLogHandler; } public function getMailHandler(): MailHandler { return $this->mailHandler; } public function getSyslogHandler(): SyslogHandler { return $this->syslogHandler; } public function getRemoteSyslogHandler(): RemoteSyslogHandler { return $this->remoteSyslogHandler; } public function getAclHandler(): AclHandler { return $this->aclHandler; } public function getNotificationHandler(): NotificationHandler { return $this->notificationHandler; } }