protected function getWrapperArgs(): string
  {
    $ret = '';

    if ($this->routine['designation']=='bulk')
    {
      $ret .= 'BulkHandler $bulkHandler';
    }

    foreach ($this->routine['parameters'] as $i => $parameter)
    {
      if ($ret!='') $ret .= ', ';

      $dataType    = DataTypeHelper::columnTypeToPhpTypeHinting($parameter);
      $declaration = DataTypeHelper::phpTypeHintingToPhpTypeDeclaration($dataType.'|null');
      if ($declaration!=='')
      {
        $ret .= $declaration.' ';
      }

      $ret .= '$'.$this->nameMangler->getParameterName($parameter['parameter_name']);
    }

    return $ret;
  }
protected function getWrapperArgs(): string
  {
    $ret = '';

    if ($this->routine['designation']=='bulk')
    {
      $ret .= 'BulkHandler $bulkHandler';
    }

    foreach ($this->routine['parameters'] as $i => $parameter)
    {
      if ($ret!='') $ret .= ', ';

      $dataType    = DataTypeHelper::columnTypeToPhpTypeHinting($parameter);
      $declaration = DataTypeHelper::phpTypeHintingToPhpTypeDeclaration($dataType.'|null');
      if ($declaration!=='')
      {
        $ret .= $declaration.' ';
      }

      $ret .= '$'.$this->nameMangler->getParameterName($parameter['parameter_name']);
    }

    return $ret;
  }
protected function getWrapperArgs ( ) : string { $ ret = '' ; if ( $ this -> routine [ 'designation' ] == 'bulk' ) { $ ret .= 'BulkHandler $bulkHandler' ; } foreach ( $ this -> routine [ 'parameters' ] as $ i => $ parameter ) { if ( $ ret != '' ) $ ret .= ', ' ; $ dataType = DataTypeHelper :: columnTypeToPhpTypeHinting ( $ parameter ) ; $ declaration = DataTypeHelper :: phpTypeHintingToPhpTypeDeclaration ( $ dataType . '|null' ) ; if ( $ declaration !== '' ) { $ ret .= $ declaration . ' ' ; } $ ret .= '$' . $ this -> nameMangler -> getParameterName ( $ parameter [ 'parameter_name' ] ) ; } return $ ret ; }
Returns code for the parameters of the wrapper method for the stored routine.

@return string
Returns code for the parameters of the wrapper method for the stored routine .