October 25, 2024
Chicago 12, Melborne City, USA
PHP

Symfony use direct value in Environment Variable Processor


In documentation it says to define 2 YAML parameters for Environment Variable Processor to work:

parameters:
    env(FOO): 'file.json'
    app.file: '%env(file:FOO)%'

Is it possible to use file name directly? E.g.:

parameters:
    app.file: '%env(file:"file.json")%'



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video