Hello,
after a bunch of testing and googling I still can't figure out a way to use 
variables defined in config.yml in my routing annotations.
For instance, I have defined a variable %secure_hostname% which value 
depends on environement ( dev or prod ) and I'd like to use it in my 
controller through annotation :

*@Route("test",name="card",schemes=%secure_scheme%,host=%secure_hostname%)*

Is this possible?

Thanks in advance for your answer ! :)

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to