Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - documentation example #23

Open
thim81 opened this issue Aug 20, 2016 · 0 comments
Open

Question - documentation example #23

thim81 opened this issue Aug 20, 2016 · 0 comments

Comments

@thim81
Copy link

thim81 commented Aug 20, 2016

Hi Markus,

Another question: As I understood the "target" is where the data is send to?
So in your minimum example:

another_minimum_importer:
            target:
                type: file
                uri: "@='%kernel.root_dir%/../output_'~date('Y-m-d')~'.csv'"    #this uses symfony expression language
                                                                                #to create the filename. Just prefix your
                                                                                #expression with @=
                format: { type: csv, arguments: [','] }                         #delimiter is now ','   

This would be the config to "export" data to a CSV file base on the target?
Or is this a config option to for an importer?

Regards,
Tim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant