params; } public function set_params($params) { if (!is_array($params)) { $params = encoding_normalize::json_decode(stripslashes($params), true); } $this->params = $params; } }