snappymail/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/AbstractProvider.php

40 lines
562 B
PHP
Raw Normal View History

<?php
namespace RainLoop\Providers;
abstract class AbstractProvider
{
/**
2014-11-13 06:09:14 +08:00
* @var \RainLoop\Model\Account
*/
protected $oAccount;
2013-12-23 08:06:48 +08:00
/**
* @var \MailSo\Log\Logger
*/
protected $oLogger = null;
public function IsActive() : bool
{
return false;
}
public function SetAccount(\RainLoop\Model\Account $oAccount)
{
$this->oAccount = $oAccount;
}
2013-12-23 08:06:48 +08:00
public function SetLogger(?\MailSo\Log\Logger $oLogger)
2013-12-23 08:06:48 +08:00
{
$this->oLogger = $oLogger;
2013-12-23 08:06:48 +08:00
}
/**
* @return \MailSo\Log\Logger|null
*/
public function Logger()
{
return $this->oLogger;
}
}