framework/db/SchemaBuilderTrait.php
public function integer($length = null)
    {
        return $this->getDb()->getSchema()->createColumnSchemaBuilder(Schema::TYPE_INTEGER, $length);
    }
public function integer($length = null)
    {
        return $this->getDb()->getSchema()->createColumnSchemaBuilder(Schema::TYPE_INTEGER, $length);
    }
Creates an integer column.
@param int $length column size or precision definition.
This parameter will be ignored if not supported by the DBMS.
@return ColumnSchemaBuilder the column instance which can be further customized.
@since 2.0.6