cassandra_Cassandra_login_args::__construct PHP Method

__construct() public method

public __construct ( $vals = null )
    public function __construct($vals = null)
    {
        if (!isset(self::$_TSPEC)) {
            self::$_TSPEC = array(1 => array('var' => 'keyspace', 'type' => TType::STRING), 2 => array('var' => 'auth_request', 'type' => TType::STRUCT, 'class' => 'cassandra_AuthenticationRequest'));
        }
        if (is_array($vals)) {
            if (isset($vals['keyspace'])) {
                $this->keyspace = $vals['keyspace'];
            }
            if (isset($vals['auth_request'])) {
                $this->auth_request = $vals['auth_request'];
            }
        }
    }
cassandra_Cassandra_login_args