framework:
    test: true
    secret: test
    router:
        resource: "%kernel.root_dir%/config/routing.yml"
doctrine:
    dbal:
        driver:   pdo_sqlite
        path:     "%kernel.root_dir%/data/db.sqlite"

    orm:
        auto_mapping: true

services:
    test.invokable.predefined:
        class:  Tests\Fixtures\FooBundle\Controller\InvokableController
        public: true

    test.invokable_class_level.predefined:
        class:  Tests\Fixtures\FooBundle\Controller\InvokableClassLevelController
        public: true

    test.simple.multiple:
        class:  Tests\Fixtures\FooBundle\Controller\SimpleController
        public: true

    test.action_arguments:
        class:  Tests\Fixtures\ActionArgumentsBundle\Controller\ActionArgumentsController
        public: true

    test.is_granted_voter:
        class: Tests\Fixtures\FooBundle\Security\IsGrantedVoter
        public: false
        tags:
            - { name: security.voter }

security:
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    providers:
        in_memory:
            memory:
                users:
                    johannes: { password: test, roles: [ROLE_USER] }

    firewalls:
        # This firewall doesn't make sense in combination with the rest of the
        # configuration file, but it's here for testing purposes (do not use
        # this file in a real world scenario though)
        login_form:
            pattern: ^/login$
            security: false

        default:
            form_login: ~
            anonymous: ~
