mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 16:58:07 +08:00
68 lines
879 B
PHP
68 lines
879 B
PHP
|
<?php
|
||
|
|
||
|
namespace MailSo\Imap;
|
||
|
|
||
|
/**
|
||
|
* @category MailSo
|
||
|
* @package Imap
|
||
|
*/
|
||
|
class Response
|
||
|
{
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
public $ResponseList;
|
||
|
|
||
|
/**
|
||
|
* @var array | null
|
||
|
*/
|
||
|
public $OptionalResponse;
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
public $StatusOrIndex;
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
public $HumanReadable;
|
||
|
|
||
|
/**
|
||
|
* @var bool
|
||
|
*/
|
||
|
public $IsStatusResponse;
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
public $ResponseType;
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
public $Tag;
|
||
|
|
||
|
/**
|
||
|
* @access private
|
||
|
*/
|
||
|
private function __construct()
|
||
|
{
|
||
|
$this->ResponseList = array();
|
||
|
$this->OptionalResponse = null;
|
||
|
$this->StatusOrIndex = '';
|
||
|
$this->HumanReadable = '';
|
||
|
$this->IsStatusResponse = false;
|
||
|
$this->ResponseType = \MailSo\Imap\Enumerations\ResponseType::UNKNOWN;
|
||
|
$this->Tag = '';
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return \MailSo\Imap\Response
|
||
|
*/
|
||
|
public static function NewInstance()
|
||
|
{
|
||
|
return new self();
|
||
|
}
|
||
|
}
|