Horde_Imap_Client_Socket::__construct PHP Метод

__construct() публичный Метод

public __construct ( array $params = [] )
$params array A hash containing configuration parameters. Additional parameters to base driver: - debug_literal: (boolean) If true, will output the raw text of literal responses to the debug stream. Otherwise, outputs a summary of the literal response. - envelope_addrs: (integer) The maximum number of address entries to read for FETCH ENVELOPE address fields. DEFAULT: 1000 - envelope_string: (integer) The maximum length of string fields returned by the FETCH ENVELOPE command. DEFAULT: 2048 - xoauth2_token: (mixed) If set, will authenticate via the XOAUTH2 mechanism (if available) with this token. Either a string (since 2.13.0) or a Horde_Imap_Client_Base_Password object (since 2.14.0).
    public function __construct(array $params = array())
    {
        parent::__construct(array_merge(array('debug_literal' => false, 'envelope_addrs' => 1000, 'envelope_string' => 2048), $params));
    }