protected function generateDocBlock(array $columns): void
  {
    $this->codeStore->append('/**');
    $this->codeStore->append(' * @todo describe routine', false);
    $this->codeStore->append(' * ', false);

    $padding = $this->getMaxColumnLength($columns);
    $format  = sprintf(' * @param p_%%-%ds @todo describe parameter', $padding);
    foreach ($columns as $column)
    {
      $this->codeStore->append(sprintf($format, $column['column_name']), false);
    }

    $this->codeStore->append(' */', false);
  }
protected function generateDocBlock(array $columns): void
  {
    $this->codeStore->append('/**');
    $this->codeStore->append(' * @todo describe routine', false);
    $this->codeStore->append(' * ', false);

    $padding = $this->getMaxColumnLength($columns);
    $format  = sprintf(' * @param p_%%-%ds @todo describe parameter', $padding);
    foreach ($columns as $column)
    {
      $this->codeStore->append(sprintf($format, $column['column_name']), false);
    }

    $this->codeStore->append(' */', false);
  }
protected function generateDocBlock ( array $ columns ) : void { $ this -> codeStore -> append ( '/**' ) ; $ this -> codeStore -> append ( ' * @todo describe routine' , false ) ; $ this -> codeStore -> append ( ' * ' , false ) ; $ padding = $ this -> getMaxColumnLength ( $ columns ) ; $ format = sprintf ( ' * @param p_%%-%ds @todo describe parameter' , $ padding ) ; foreach ( $ columns as $ column ) { $ this -> codeStore -> append ( sprintf ( $ format , $ column [ 'column_name' ] ) , false ) ; } $ this -> codeStore -> append ( ' */' , false ) ; }
Generates the doc block for the stored routine.

@param array[] $columns Columns from table.
Generates the doc block for the stored routine .