{"action":"closed","issue":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/10211","repository_url":"https://api.github.com/repos/symfony/symfony-docs","labels_url":"https://api.github.com/repos/symfony/symfony-docs/issues/10211/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/10211/comments","events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/10211/events","html_url":"https://github.com/symfony/symfony-docs/issues/10211","id":353091664,"node_id":"MDU6SXNzdWUzNTMwOTE2NjQ=","number":10211,"title":"Templating: indicate that configuration is required for autowiring to load templating","user":{"login":"LouWii","id":2750789,"node_id":"MDQ6VXNlcjI3NTA3ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/2750789?v=4","gravatar_id":"","url":"https://api.github.com/users/LouWii","html_url":"https://github.com/LouWii","followers_url":"https://api.github.com/users/LouWii/followers","following_url":"https://api.github.com/users/LouWii/following{/other_user}","gists_url":"https://api.github.com/users/LouWii/gists{/gist_id}","starred_url":"https://api.github.com/users/LouWii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouWii/subscriptions","organizations_url":"https://api.github.com/users/LouWii/orgs","repos_url":"https://api.github.com/users/LouWii/repos","events_url":"https://api.github.com/users/LouWii/events{/privacy}","received_events_url":"https://api.github.com/users/LouWii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-22T19:27:55Z","updated_at":"2018-08-22T20:27:11Z","closed_at":"2018-08-22T20:27:11Z","author_association":"NONE","body":"Hi there,\r\n\r\nI lost a bit of time today when working with the Templating component https://symfony.com/doc/current/components/templating.html\r\n\r\nI fortunately was able to find out that the component wasn't autowiring, and that configuration was needed in order for it to be autowired.\r\nI know there's documentation about autowiring, but I didn't expect that I had to do something in particular for the Templating component to load properly.\r\n\r\nI was wondering if a note about this could be added in the documentation page, or not. I'd be happy to try and do a PR.\r\n\r\nWhat I did was just add\r\n```\r\ntemplating:\r\n        engines:\r\n            - twig\r\n```\r\nto my `framework.yaml` file. Autowiring then picked it up and loaded the component."}}
{"actor":{"display_login":"LouWii"}}