src/Service/TableConnectorGenerator.php
private function loadPropertiesForTable($table, Connection $connection)
    {
        $columns = $connection->getSchemaManager()->listTableColumns($table);

        $props = [];

        foreach ($columns as $name => $column)
        {
            $processingType = $this->doctrineColumnToProcessingType($column);

            $props[$name] = [
                'processing_type' => $processingType,
                'doctrine_type' => $column->getType()->getName(),
            ];
        }

        return $props;
    }
private function loadPropertiesForTable($table, Connection $connection)
    {
        $columns = $connection->getSchemaManager()->listTableColumns($table);

        $props = [];

        foreach ($columns as $name => $column)
        {
            $processingType = $this->doctrineColumnToProcessingType($column);

            $props[$name] = [
                'processing_type' => $processingType,
                'doctrine_type' => $column->getType()->getName(),
            ];
        }

        return $props;
    }
private function loadPropertiesForTable ( $ table , Connection $ connection ) { $ columns = $ connection -> getSchemaManager ( ) -> listTableColumns ( $ table ) ; $ props = [ ] ; foreach ( $ columns as $ name => $ column ) { $ processingType = $ this -> doctrineColumnToProcessingType ( $ column ) ; $ props [ $ name ] = [ 'processing_type' => $ processingType , 'doctrine_type' => $ column -> getType ( ) -> getName ( ) , ] ; } return $ props ; }
Inspect given table and creates a map containing the mapped processing type and the original doctrine type
The map is indexed by column names which become the property names

@param string $table
@param Connection $connection
@return array
Inspect given table and creates a map containing the mapped processing type and the original doctrine type The map is indexed by column names which become the property names