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