symfony - How to concatenate a parameter value with a constant string in Yaml -


i have url defined parameter in parameters.yml. want create service soap client. argument of soap client url wsdl file. in case, url of wsdl file "%parameter_url%" + "?wsdl"`.

is there way concatenate "?wsdl" parameter defined in yaml?

you don't need concatenation character, can append constant directly after parameter. example, service definition in services.yml:

my.service:     class:         %my.service.class%     arguments:            - @logger,        - %some_parameter%,        - %parameter_url%?wsdl,  

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -