* @category Horde * @copyright 2012-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Imap_Client */ class Horde_Imap_Client_Interaction_Server_Tagged extends Horde_Imap_Client_Interaction_Server { /** * Tag. * * @var string */ public $tag; /** * @param string $tag Response tag. */ public function __construct(Horde_Imap_Client_Tokenize $token, $tag) { $this->tag = $tag; parent::__construct($token); if (is_null($this->status)) { throw new Horde_Imap_Client_Exception( Horde_Imap_Client_Translation::r("Bad tagged response.") ); } } }