{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim-Flash/issues/8","labels_url":"https://api.github.com/repos/slimphp/Slim-Flash/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim-Flash/issues/8/comments","events_url":"https://api.github.com/repos/slimphp/Slim-Flash/issues/8/events","html_url":"https://github.com/slimphp/Slim-Flash/pull/8","id":114813327,"number":8,"title":"Adds a TwigExtension to access flash messages within a Twig template","user":{"login":"NigelGreenway","id":2984008,"avatar_url":"https://avatars.githubusercontent.com/u/2984008?v=3","gravatar_id":"","url":"https://api.github.com/users/NigelGreenway","html_url":"https://github.com/NigelGreenway","followers_url":"https://api.github.com/users/NigelGreenway/followers","following_url":"https://api.github.com/users/NigelGreenway/following{/other_user}","gists_url":"https://api.github.com/users/NigelGreenway/gists{/gist_id}","starred_url":"https://api.github.com/users/NigelGreenway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NigelGreenway/subscriptions","organizations_url":"https://api.github.com/users/NigelGreenway/orgs","repos_url":"https://api.github.com/users/NigelGreenway/repos","events_url":"https://api.github.com/users/NigelGreenway/events{/privacy}","received_events_url":"https://api.github.com/users/NigelGreenway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T13:17:17Z","updated_at":"2015-11-04T20:08:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/slimphp/Slim-Flash/pulls/8","html_url":"https://github.com/slimphp/Slim-Flash/pull/8","diff_url":"https://github.com/slimphp/Slim-Flash/pull/8.diff","patch_url":"https://github.com/slimphp/Slim-Flash/pull/8.patch"},"body":"I have added a `TwigExtension` to allow retrieval of either a single message [TwigExtension#getMessage](https://github.com/NigelGreenway/Slim-Flash/blob/twig-flash-extension/src/TwigExtension.php#L56) or a collection of all messages / specific group of messages [TwigExtension#getMessages](https://github.com/NigelGreenway/Slim-Flash/blob/twig-flash-extension/src/TwigExtension.php#L75)."},"comment":{"url":"https://api.github.com/repos/slimphp/Slim-Flash/issues/comments/153848479","html_url":"https://github.com/slimphp/Slim-Flash/pull/8#issuecomment-153848479","issue_url":"https://api.github.com/repos/slimphp/Slim-Flash/issues/8","id":153848479,"user":{"login":"geggleto","id":4027602,"avatar_url":"https://avatars.githubusercontent.com/u/4027602?v=3","gravatar_id":"","url":"https://api.github.com/users/geggleto","html_url":"https://github.com/geggleto","followers_url":"https://api.github.com/users/geggleto/followers","following_url":"https://api.github.com/users/geggleto/following{/other_user}","gists_url":"https://api.github.com/users/geggleto/gists{/gist_id}","starred_url":"https://api.github.com/users/geggleto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geggleto/subscriptions","organizations_url":"https://api.github.com/users/geggleto/orgs","repos_url":"https://api.github.com/users/geggleto/repos","events_url":"https://api.github.com/users/geggleto/events{/privacy}","received_events_url":"https://api.github.com/users/geggleto/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T20:08:20Z","updated_at":"2015-11-04T20:08:20Z","body":"We should not couple this project with the Twig-View.\r\n\r\nIf you want to extend functionality with Twig, you should create a bridge that requires both SlimFlash and TwigView"}}