{"action":"created","issue":{"url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/82","labels_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/82/comments","events_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/82/events","html_url":"https://github.com/KnpLabs/DoctrineBehaviors/pull/82","id":23864809,"number":82,"title":"Fix property access on twig","user":{"login":"asosso","id":1047728,"avatar_url":"https://avatars.githubusercontent.com/u/1047728?v=3","gravatar_id":"","url":"https://api.github.com/users/asosso","html_url":"https://github.com/asosso","followers_url":"https://api.github.com/users/asosso/followers","following_url":"https://api.github.com/users/asosso/following{/other_user}","gists_url":"https://api.github.com/users/asosso/gists{/gist_id}","starred_url":"https://api.github.com/users/asosso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asosso/subscriptions","organizations_url":"https://api.github.com/users/asosso/orgs","repos_url":"https://api.github.com/users/asosso/repos","events_url":"https://api.github.com/users/asosso/events{/privacy}","received_events_url":"https://api.github.com/users/asosso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2013-12-06T15:33:37Z","updated_at":"2015-09-16T11:16:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/pulls/82","html_url":"https://github.com/KnpLabs/DoctrineBehaviors/pull/82","diff_url":"https://github.com/KnpLabs/DoctrineBehaviors/pull/82.diff","patch_url":"https://github.com/KnpLabs/DoctrineBehaviors/pull/82.patch"},"body":"This should fix this warning. \r\n\r\nAn exception has been thrown during the rendering of a template (\"Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'MyClassTranslation' does not have a method 'name' in ../vendor/knplabs/doctrine-behaviors/src/Knp/DoctrineBehaviors/Model/Translatable/TranslatableMethods.php line 140\") in MyBundle:Default:index.html.twig at line 1.\r\n\r\nTwig calls 'name' instead 'getName'"},"comment":{"url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/comments/140710780","html_url":"https://github.com/KnpLabs/DoctrineBehaviors/pull/82#issuecomment-140710780","issue_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/82","id":140710780,"user":{"login":"docteurklein","id":109846,"avatar_url":"https://avatars.githubusercontent.com/u/109846?v=3","gravatar_id":"","url":"https://api.github.com/users/docteurklein","html_url":"https://github.com/docteurklein","followers_url":"https://api.github.com/users/docteurklein/followers","following_url":"https://api.github.com/users/docteurklein/following{/other_user}","gists_url":"https://api.github.com/users/docteurklein/gists{/gist_id}","starred_url":"https://api.github.com/users/docteurklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docteurklein/subscriptions","organizations_url":"https://api.github.com/users/docteurklein/orgs","repos_url":"https://api.github.com/users/docteurklein/repos","events_url":"https://api.github.com/users/docteurklein/events{/privacy}","received_events_url":"https://api.github.com/users/docteurklein/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T11:16:23Z","updated_at":"2015-09-16T11:16:23Z","body":"Not sure I'd want PropertyAccess in my domain model."}}