{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1183","repository_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1183/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1183/events","html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/1183","id":197822700,"number":1183,"title":"PropertyAccessor magic_call param","user":{"login":"delormejonathan","id":5949870,"avatar_url":"https://avatars0.githubusercontent.com/u/5949870?v=3","gravatar_id":"","url":"https://api.github.com/users/delormejonathan","html_url":"https://github.com/delormejonathan","followers_url":"https://api.github.com/users/delormejonathan/followers","following_url":"https://api.github.com/users/delormejonathan/following{/other_user}","gists_url":"https://api.github.com/users/delormejonathan/gists{/gist_id}","starred_url":"https://api.github.com/users/delormejonathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delormejonathan/subscriptions","organizations_url":"https://api.github.com/users/delormejonathan/orgs","repos_url":"https://api.github.com/users/delormejonathan/repos","events_url":"https://api.github.com/users/delormejonathan/events{/privacy}","received_events_url":"https://api.github.com/users/delormejonathan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T09:27:48Z","updated_at":"2017-03-06T14:50:42Z","closed_at":null,"body":"Hi,\r\n\r\n(Tell me if I'm wrong)\r\nIn Resources/config/config.xml, you are calling statically the PropertyAccessor instead of using the internal Symfony service.\r\nSo, you are by-passing the parameters defined in config.yml ([http://symfony.com/doc/current/reference/configuration/framework.html#property-access](http://symfony.com/doc/current/reference/configuration/framework.html#property-access))\r\n\r\nI'm using a library which works with __call function and it needs to have magic_call enabled for attributes access.\r\n\r\nIs there a way to modify the way PropertyAccessor is included to read global configuration ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/comments/284417037","html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/1183#issuecomment-284417037","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1183","id":284417037,"user":{"login":"XWB","id":1032281,"avatar_url":"https://avatars0.githubusercontent.com/u/1032281?v=3","gravatar_id":"","url":"https://api.github.com/users/XWB","html_url":"https://github.com/XWB","followers_url":"https://api.github.com/users/XWB/followers","following_url":"https://api.github.com/users/XWB/following{/other_user}","gists_url":"https://api.github.com/users/XWB/gists{/gist_id}","starred_url":"https://api.github.com/users/XWB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XWB/subscriptions","organizations_url":"https://api.github.com/users/XWB/orgs","repos_url":"https://api.github.com/users/XWB/repos","events_url":"https://api.github.com/users/XWB/events{/privacy}","received_events_url":"https://api.github.com/users/XWB/received_events","type":"User","site_admin":false},"created_at":"2017-03-06T14:50:42Z","updated_at":"2017-03-06T14:50:42Z","body":"Would you be able to make a PR?"}}
{"actor":{"display_login":"XWB"}}