Full implemantation
This commit is contained in:
21
api/common/Service/Remote/Base.php
Normal file
21
api/common/Service/Remote/Base.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace ProVM\Common\Service\Remote;
|
||||
|
||||
use Ddeboer\Imap\ConnectionInterface;
|
||||
use ProVM\Common\Service\Base as BaseService;
|
||||
|
||||
abstract class Base extends BaseService
|
||||
{
|
||||
protected ConnectionInterface $connection;
|
||||
|
||||
public function getConnection(): ConnectionInterface
|
||||
{
|
||||
return $this->connection;
|
||||
}
|
||||
|
||||
public function setConnection(ConnectionInterface $connection): Base
|
||||
{
|
||||
$this->connection = $connection;
|
||||
return $this;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user