[wip] add different steps to handle request

This commit is contained in:
2016-01-11 21:45:20 +01:00
parent b40b85527a
commit e1a9ad1612
13 changed files with 829 additions and 48 deletions

View File

@@ -161,3 +161,30 @@ services:
- "@chill.main.export_manager"
tags:
- { name: form.type }
chill.main.form.pick_formatter_type:
class: Chill\MainBundle\Form\Type\Export\PickFormatterType
arguments:
- "@chill.main.export_manager"
tags:
- { name: form.type }
chill.main.form.formatter_type:
class: Chill\MainBundle\Form\Type\Export\FormatterType
arguments:
- "@chill.main.export_manager"
tags:
- { name: form.type }
chill.main.countries_repository:
class: Doctrine\ORM\EntityRepository
factory: ["@doctrine.orm.entity_manager", getRepository]
arguments:
- "Chill\\MainBundle\\Entity\\Country"
chill.main.export.csv_formatter:
class: Chill\MainBundle\Export\Formatter\CSVFormatter
arguments:
- "@translator"
tags:
- { name: chill.export_formatter, alias: 'csv' }