protected function parseSchema(array $columns)
    {
        $schema = [];

        foreach ($columns as $name => $column) {
            $schema[] = [
                'name' => $column->getName(),
                'type' => $column->getType()->getName()
            ];
        }

        return $schema;
    }
protected function parseSchema(array $columns)
    {
        $schema = [];

        foreach ($columns as $name => $column) {
            $schema[] = [
                'name' => $column->getName(),
                'type' => $column->getType()->getName()
            ];
        }

        return $schema;
    }
protected function parseSchema ( array $ columns ) { $ schema = [ ] ; foreach ( $ columns as $ name => $ column ) { $ schema [ ] = [ 'name' => $ column -> getName ( ) , 'type' => $ column -> getType ( ) -> getName ( ) ] ; } return $ schema ; }
Convert the DBAL schema to an assoc array.

@param array $columns
@return array
Convert the DBAL schema to an assoc array .