Start your All-Access Pass to unlock this challenge
Suppose you're using a fictional OrderPizzaBundle
, which requires you to put an API key to their service/API in a config file (where abcd1234
is our real API key for this example):
order_pizza:
api_key: 'abcd1234'
A developer on your team recommends changing this to:
order_pizza:
api_key: '%env(PIZZA_API_KEY)%'
Is this a good recommendation? Why or why not?