opensrs\Ops::__construct PHP Метод

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

Class constructor Initialize variables, logs, etc.
public __construct ( $args = false )
    public function __construct($args = false)
    {
        if (is_array($args)) {
            if ($args['option'] == 'compress') {
                $this->_OPT = 'compress';
                $this->_SPACER = '';
                $this->_CRLF = '';
            }
        }
        $this->_SESSID = uniqid();
        $this->_MSGCNT = 0;
    }