private function generateIntFieldInput($column, $dbType)
    {
        $field = new GeneratorField();
        $field->name = $column->getName();
        $field->parseDBType($dbType);
        $field->htmlType = 'number';

        if ($column->getAutoincrement()) {
            $field->dbInput .= ',true';
        } else {
            $field->dbInput .= ',false';
        }

        if ($column->getUnsigned()) {
            $field->dbInput .= ',true';
        }

        return $this->checkForPrimary($field);
    }
private function generateIntFieldInput($column, $dbType)
    {
        $field = new GeneratorField();
        $field->name = $column->getName();
        $field->parseDBType($dbType);
        $field->htmlType = 'number';

        if ($column->getAutoincrement()) {
            $field->dbInput .= ',true';
        } else {
            $field->dbInput .= ',false';
        }

        if ($column->getUnsigned()) {
            $field->dbInput .= ',true';
        }

        return $this->checkForPrimary($field);
    }
private function generateIntFieldInput ( $ column , $ dbType ) { $ field = new GeneratorField ( ) ; $ field -> name = $ column -> getName ( ) ; $ field -> parseDBType ( $ dbType ) ; $ field -> htmlType = 'number' ; if ( $ column -> getAutoincrement ( ) ) { $ field -> dbInput .= ',true' ; } else { $ field -> dbInput .= ',false' ; } if ( $ column -> getUnsigned ( ) ) { $ field -> dbInput .= ',true' ; } return $ this -> checkForPrimary ( $ field ) ; }
Generates integer text field for database.

@param string                       $dbType
@param \Doctrine\DBAL\Schema\Column $column

@return GeneratorField
Generates integer text field for database .