src/Configuration/DefinitionBuilder/CopyJobDefinitionBuilder.php
private function getDictionaryOverrides(array &$data): array
    {
        $overrides = [];
        foreach (['source_language', 'target_language'] as $key) {
            if (array_key_exists($key, $data)) {
                $overrides[$key] = $data[$key];
                unset($data[$key]);
            }
        }

        return $overrides;
    }
private function getDictionaryOverrides(array &$data): array
    {
        $overrides = [];
        foreach (['source_language', 'target_language'] as $key) {
            if (array_key_exists($key, $data)) {
                $overrides[$key] = $data[$key];
                unset($data[$key]);
            }
        }

        return $overrides;
    }
private function getDictionaryOverrides ( array & $ data ) : array { $ overrides = [ ] ; foreach ( [ 'source_language' , 'target_language' ] as $ key ) { if ( array_key_exists ( $ key , $ data ) ) { $ overrides [ $ key ] = $ data [ $ key ] ; unset ( $ data [ $ key ] ) ; } } return $ overrides ; }
Obtain the overrides for a dictionary.

@param array $data The job configuration data.

@return array
Obtain the overrides for a dictionary .