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