Ejemplo n.º 1
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'nameToTypePtr', 'type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::I32, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::I32)));
     }
     if (is_array($vals)) {
         if (isset($vals['nameToTypePtr'])) {
             $this->nameToTypePtr = $vals['nameToTypePtr'];
         }
     }
 }