Symfony 3.4
I have a parameter that looks like this:
parameters.yml
:
paramters:
some_configuration:
param1: value1
param2: value2
I want to pass a value within my some_configuration
parameter directly to a service, rather that some_configuration
itself. Something like this:
services.yml
:
services:
AppBundle\Service\MyService:
arguments:
$serviceparam: '%some_configuration.param2%'
Is this possible somehow?