src/Keboola/CsvMap/Mapper.php
private function expandShorthandDefinitions()
    {
        foreach ($this->mapping as $key => $settings) {
            if (is_string($key) && is_string($settings)) {
                $this->mapping[$key] = [
                    'type' => 'column',
                    'mapping' => [
                        'destination' => $settings
                    ]
                ];
            }
        }
    }
private function expandShorthandDefinitions()
    {
        foreach ($this->mapping as $key => $settings) {
            if (is_string($key) && is_string($settings)) {
                $this->mapping[$key] = [
                    'type' => 'column',
                    'mapping' => [
                        'destination' => $settings
                    ]
                ];
            }
        }
    }
private function expandShorthandDefinitions ( ) { foreach ( $ this -> mapping as $ key => $ settings ) { if ( is_string ( $ key ) && is_string ( $ settings ) ) { $ this -> mapping [ $ key ] = [ 'type' => 'column' , 'mapping' => [ 'destination' => $ settings ] ] ; } } }
Expands shorthand definitions to theirs full definition
Expands shorthand definitions to theirs full definition