private function assertParameterArray($opt) { if (!is_array($opt)) { throw new BCS_Exception('Parameter must be array, please check!', -1); } }