Symfony 6 Fundamentals: Services, Config & Environments
Environments
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 2

Check out the following config:

# config/packages/twig.yaml
twig:
    globals:
        answer_to_everything: 42

How could we override the answer_to_everything config value to be 21 in the dev environment only?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.