mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 00:38:04 +08:00
36 lines
538 B
PHP
36 lines
538 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;
|
|
}
|
|
|
|
public function Logger() : ?\MailSo\Log\Logger
|
|
{
|
|
return $this->oLogger;
|
|
}
|
|
}
|