Rather than defining contact_email
within app.config
, define it in a parameters
entry:
parameters:
contact_email: [email protected]
You should find the call you are making within your controller now works.
More Related Contents:
- How to get config parameters in Symfony2 Twig Templates
- Should everything really be a bundle in Symfony 2.x?
- Count Rows in Doctrine QueryBuilder
- Symfony2 : How to get form validation errors after binding the request to the form
- How to update a single library with Composer?
- How to check if an user is logged in Symfony2 inside a controller?
- Using Relationships with Multiple Entity Managers
- symfony2: how to use group_concat in QueryBuilder
- How can I run symfony 2 run command from controller
- Symfony2: how to log user out manually in controller?
- How to specify the scope of Google API to get the birthday
- Symfony 2 : multiple and dynamic database connection
- In Symfony2, why is it a bad idea to inject the service container, rather than individual services?
- How to inject the @request into a service?
- There is no extension able to load the configuration for “facebookbundle” symfony2
- How can I deploy Symfony in a subdirectory?
- FOS bundle – How to select users with a specific role?
- How does the login check_path route work without default controller/action?
- Symfony 2: Creating a service from a Repository
- How to check if a user is logged in Symfony2 inside a controller?
- Symfony2 and Doctrine – Error: Invalid PathExpression. Must be a StateFieldPathExpression
- Doctrine – A new entity was found through the relationship
- Build a form having a checkbox for each entity in a doctrine collection
- How do I get the user IP address in Symfony2 controller?
- How to get list of all routes of a controller in Symfony2?
- How to configure naming strategy in Doctrine 2
- Symfony2 error 500 instead of 404 at production
- How to add custom link or button to SonataAdminBundle Dashboard in Symfony2
- Adding Captcha to Symfony2 Login Page
- symfony2 chained selectors