private function updateParametersInfo(): void
  {
    if (!empty($this->extendedParameters))
    {
      foreach ($this->extendedParameters as $spec_param_name => $spec_param_info)
      {
        $param_not_exist = true;
        foreach ($this->parameters as $key => $param_info)
        {
          if ($param_info['parameter_name']==$spec_param_name)
          {
            $this->parameters[$key] = array_merge($this->parameters[$key], $spec_param_info);
            $param_not_exist        = false;
            break;
          }
        }
        if ($param_not_exist)
        {
          throw new RoutineLoaderException("Specific parameter '%s' does not exist", $spec_param_name);
        }
      }
    }
  }
private function updateParametersInfo(): void
  {
    if (!empty($this->extendedParameters))
    {
      foreach ($this->extendedParameters as $spec_param_name => $spec_param_info)
      {
        $param_not_exist = true;
        foreach ($this->parameters as $key => $param_info)
        {
          if ($param_info['parameter_name']==$spec_param_name)
          {
            $this->parameters[$key] = array_merge($this->parameters[$key], $spec_param_info);
            $param_not_exist        = false;
            break;
          }
        }
        if ($param_not_exist)
        {
          throw new RoutineLoaderException("Specific parameter '%s' does not exist", $spec_param_name);
        }
      }
    }
  }
private function updateParametersInfo ( ) : void { if ( ! empty ( $ this -> extendedParameters ) ) { foreach ( $ this -> extendedParameters as $ spec_param_name => $ spec_param_info ) { $ param_not_exist = true ; foreach ( $ this -> parameters as $ key => $ param_info ) { if ( $ param_info [ 'parameter_name' ] == $ spec_param_name ) { $ this -> parameters [ $ key ] = array_merge ( $ this -> parameters [ $ key ] , $ spec_param_info ) ; $ param_not_exist = false ; break ; } } if ( $ param_not_exist ) { throw new RoutineLoaderException ( "Specific parameter '%s' does not exist" , $ spec_param_name ) ; } } } }
Update information about specific parameters of stored routine.
Update information about specific parameters of stored routine .