I am trying to initialize a service using a config value:
<parameters>
<parameter key="the.binary">CHANGE_THIS</parameter>
</parameters>
<services>
<defaults public="true" />
<service id="TheBundle\TheService">
<argument key="$env" type="string">%kernel.environment%</argument>
<argument key="$binaryPath" type="string">%the.binary%</argument>
</service>
</services>
When I debug:
bin/console debug:config mybinary
I can see the config seems to be as I would expect:
mybinary:
binary: '/opt/somewhere/binary'
How do I get the value from my bundle config into the parameters where CHANGE_THIS is?