parameters:
    secret: secret

services:
    demo_command:
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\DemoType
            - demo
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        tags:
            - { name: console.command }

    name_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\NameType
            - name
        tags:
            - { name: console.command }

    name_without_default_value_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\NameWithoutDefaultValueType
            - name_without_default_value
        tags:
            - { name: console.command }

    blocked_addresses_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\BlockedAddressesType
            - blocked_addresses
        tags:
            - { name: console.command }

    color_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\ColorType
            - color
        tags:
            - { name: console.command }

    multi_select_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\MultiSelectType
            - multi_select
        tags:
            - { name: console.command }

    password_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\RepeatedPasswordType
            - repeated_password
        tags:
            - { name: console.command }

    date_of_birth_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\DateOfBirthType
            - date_of_birth
        tags:
            - { name: console.command }

    age_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\AgeType
            - age
        tags:
            - { name: console.command }

    empty_label_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\EmptyLabelType
            - empty_label
        tags:
            - { name: console.command }

    translatable_label_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\TranslatableLabelType
            - translatable_label
        tags:
            - { name: console.command }

    ask_price_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\PriceType
            - price
        tags:
            - { name: console.command }

    secret_required_field_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\SecretRequiredFieldType
            - secret_required_field
        tags:
            - { name: console.command }

    coffee_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\CoffeeMilkType
            - coffee
        tags:
            - { name: console.command }

    unstringable_choices_command:
        class: Matthias\SymfonyConsoleForm\Tests\Command\PrintFormDataCommand
        arguments:
            - Matthias\SymfonyConsoleForm\Tests\Form\UnstringableChoicesType
            - unstringable_choices
        tags:
            - { name: console.command }

framework:
    form:
        csrf_protection: true
    secret: "%secret%"
    csrf_protection: ~
    session:
        handler_id: ~
    translator:
        paths:
            - "%kernel.project_dir%/translations"
