mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 16:58:07 +08:00
2cada68f41
Also removed: POP3, OAuth2 and update feature Added: admin password_hash/password_verify Requires: PHP 7.3+ Replaced: CRLF with LF Replaced: pclZip with ZipArchive
39 lines
562 B
PHP
39 lines
562 B
PHP
<?php
|
|
|
|
namespace RainLoop\Providers;
|
|
|
|
abstract class AbstractProvider
|
|
{
|
|
/**
|
|
* @var \RainLoop\Model\Account
|
|
*/
|
|
protected $oAccount;
|
|
|
|
/**
|
|
* @var \MailSo\Log\Logger
|
|
*/
|
|
protected $oLogger = null;
|
|
|
|
public function IsActive() : bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function SetAccount(\RainLoop\Model\Account $oAccount)
|
|
{
|
|
$this->oAccount = $oAccount;
|
|
}
|
|
|
|
public function SetLogger(?\MailSo\Log\Logger $oLogger)
|
|
{
|
|
$this->oLogger = $oLogger;
|
|
}
|
|
|
|
/**
|
|
* @return \MailSo\Log\Logger|null
|
|
*/
|
|
public function Logger()
|
|
{
|
|
return $this->oLogger;
|
|
}
|
|
}
|