src/Samurai/Component/Migration/Phinx/CodeGenerator.php
public function isSinglePrimaryKeyColumn(Table $table, Column $column)
    {
        $options = $table->getOptions();

        if (! $options && $column->getName() === 'id') return true;
        if (isset($options['id']) && $options['id'] == $column->getName()) return true;

        return false;
    }
public function isSinglePrimaryKeyColumn(Table $table, Column $column)
    {
        $options = $table->getOptions();

        if (! $options && $column->getName() === 'id') return true;
        if (isset($options['id']) && $options['id'] == $column->getName()) return true;

        return false;
    }
public function isSinglePrimaryKeyColumn ( Table $ table , Column $ column ) { $ options = $ table -> getOptions ( ) ; if ( ! $ options && $ column -> getName ( ) === 'id' ) return true ; if ( isset ( $ options [ 'id' ] ) && $ options [ 'id' ] == $ column -> getName ( ) ) return true ; return false ; }
is single primary key column ?

@param   Table   $table
@param   Column  $column
@return  boolean
is single primary key column ?