{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/comments/73527378","id":73527378,"diff_hunk":"@@ -0,0 +1,83 @@\n+<?php\n+\n+/*\n+ * This file is part of the Sonata Project package.\n+ *\n+ * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+namespace Sonata\\ArticleBundle\\Tests\\Helper;\n+\n+use Sonata\\ArticleBundle\\FragmentService\\FragmentServiceInterface;\n+use Sonata\\ArticleBundle\\Helper\\FragmentHelper;\n+use Sonata\\ArticleBundle\\Model\\FragmentInterface;\n+use Symfony\\Component\\Templating\\EngineInterface;\n+\n+/**\n+ * Class FragmentHelperTest.","path":"Tests/Helper/FragmentHelperTest.php","position":20,"original_position":20,"commit_id":"e8fa4e71dfafa7328a2ce1ae2e134c96f2bbcefa","original_commit_id":"e43c1bab90b5beaf07c2eb277f2756ade5aadaa3","user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars.githubusercontent.com/u/657779?v=3","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"body":"> all done\r\n\r\nNope!","created_at":"2016-08-04T14:03:35Z","updated_at":"2016-08-04T14:03:35Z","html_url":"https://github.com/sonata-project/SonataArticleBundle/pull/16#discussion_r73527378","pull_request_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/comments/73527378"},"html":{"href":"https://github.com/sonata-project/SonataArticleBundle/pull/16#discussion_r73527378"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16","id":79871347,"html_url":"https://github.com/sonata-project/SonataArticleBundle/pull/16","diff_url":"https://github.com/sonata-project/SonataArticleBundle/pull/16.diff","patch_url":"https://github.com/sonata-project/SonataArticleBundle/pull/16.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues/16","number":16,"state":"open","locked":false,"title":"Add fragment helper to render them in front","user":{"login":"srascar","id":6000134,"avatar_url":"https://avatars.githubusercontent.com/u/6000134?v=3","gravatar_id":"","url":"https://api.github.com/users/srascar","html_url":"https://github.com/srascar","followers_url":"https://api.github.com/users/srascar/followers","following_url":"https://api.github.com/users/srascar/following{/other_user}","gists_url":"https://api.github.com/users/srascar/gists{/gist_id}","starred_url":"https://api.github.com/users/srascar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srascar/subscriptions","organizations_url":"https://api.github.com/users/srascar/orgs","repos_url":"https://api.github.com/users/srascar/repos","events_url":"https://api.github.com/users/srascar/events{/privacy}","received_events_url":"https://api.github.com/users/srascar/received_events","type":"User","site_admin":false},"body":"## Changelog\r\n\r\n```markdown\r\n### Added\r\n- Added `TwigExtension` to wrap FragmentHelper in twig templates\r\n- Added `FragmentHelper` to render Fragments\r\n- Associated Unit Tests and Doc\r\n\r\n### Changed\r\n- Updated doc\r\n- Updated `FragmentService` to add a getTemplate method \r\n\r\n```\r\n\r\n## Subject\r\n\r\nThis PR comes with everything you need to handle the rendering of article's fragments\r\n","created_at":"2016-08-03T09:06:00Z","updated_at":"2016-08-04T14:03:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d4db5a922c42ff72d64dda35cbed5a14a9f51f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues/16/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/statuses/e8fa4e71dfafa7328a2ce1ae2e134c96f2bbcefa","head":{"label":"srascar:develop","ref":"develop","sha":"e8fa4e71dfafa7328a2ce1ae2e134c96f2bbcefa","user":{"login":"srascar","id":6000134,"avatar_url":"https://avatars.githubusercontent.com/u/6000134?v=3","gravatar_id":"","url":"https://api.github.com/users/srascar","html_url":"https://github.com/srascar","followers_url":"https://api.github.com/users/srascar/followers","following_url":"https://api.github.com/users/srascar/following{/other_user}","gists_url":"https://api.github.com/users/srascar/gists{/gist_id}","starred_url":"https://api.github.com/users/srascar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srascar/subscriptions","organizations_url":"https://api.github.com/users/srascar/orgs","repos_url":"https://api.github.com/users/srascar/repos","events_url":"https://api.github.com/users/srascar/events{/privacy}","received_events_url":"https://api.github.com/users/srascar/received_events","type":"User","site_admin":false},"repo":{"id":64649934,"name":"SonataArticleBundle","full_name":"srascar/SonataArticleBundle","owner":{"login":"srascar","id":6000134,"avatar_url":"https://avatars.githubusercontent.com/u/6000134?v=3","gravatar_id":"","url":"https://api.github.com/users/srascar","html_url":"https://github.com/srascar","followers_url":"https://api.github.com/users/srascar/followers","following_url":"https://api.github.com/users/srascar/following{/other_user}","gists_url":"https://api.github.com/users/srascar/gists{/gist_id}","starred_url":"https://api.github.com/users/srascar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srascar/subscriptions","organizations_url":"https://api.github.com/users/srascar/orgs","repos_url":"https://api.github.com/users/srascar/repos","events_url":"https://api.github.com/users/srascar/events{/privacy}","received_events_url":"https://api.github.com/users/srascar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/srascar/SonataArticleBundle","description":"Advanced article management","fork":true,"url":"https://api.github.com/repos/srascar/SonataArticleBundle","forks_url":"https://api.github.com/repos/srascar/SonataArticleBundle/forks","keys_url":"https://api.github.com/repos/srascar/SonataArticleBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/srascar/SonataArticleBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/srascar/SonataArticleBundle/teams","hooks_url":"https://api.github.com/repos/srascar/SonataArticleBundle/hooks","issue_events_url":"https://api.github.com/repos/srascar/SonataArticleBundle/issues/events{/number}","events_url":"https://api.github.com/repos/srascar/SonataArticleBundle/events","assignees_url":"https://api.github.com/repos/srascar/SonataArticleBundle/assignees{/user}","branches_url":"https://api.github.com/repos/srascar/SonataArticleBundle/branches{/branch}","tags_url":"https://api.github.com/repos/srascar/SonataArticleBundle/tags","blobs_url":"https://api.github.com/repos/srascar/SonataArticleBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/srascar/SonataArticleBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/srascar/SonataArticleBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/srascar/SonataArticleBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/srascar/SonataArticleBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/srascar/SonataArticleBundle/languages","stargazers_url":"https://api.github.com/repos/srascar/SonataArticleBundle/stargazers","contributors_url":"https://api.github.com/repos/srascar/SonataArticleBundle/contributors","subscribers_url":"https://api.github.com/repos/srascar/SonataArticleBundle/subscribers","subscription_url":"https://api.github.com/repos/srascar/SonataArticleBundle/subscription","commits_url":"https://api.github.com/repos/srascar/SonataArticleBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/srascar/SonataArticleBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/srascar/SonataArticleBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/srascar/SonataArticleBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/srascar/SonataArticleBundle/contents/{+path}","compare_url":"https://api.github.com/repos/srascar/SonataArticleBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/srascar/SonataArticleBundle/merges","archive_url":"https://api.github.com/repos/srascar/SonataArticleBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/srascar/SonataArticleBundle/downloads","issues_url":"https://api.github.com/repos/srascar/SonataArticleBundle/issues{/number}","pulls_url":"https://api.github.com/repos/srascar/SonataArticleBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/srascar/SonataArticleBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/srascar/SonataArticleBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/srascar/SonataArticleBundle/labels{/name}","releases_url":"https://api.github.com/repos/srascar/SonataArticleBundle/releases{/id}","deployments_url":"https://api.github.com/repos/srascar/SonataArticleBundle/deployments","created_at":"2016-08-01T08:30:21Z","updated_at":"2016-08-01T08:30:23Z","pushed_at":"2016-08-04T14:02:08Z","git_url":"git://github.com/srascar/SonataArticleBundle.git","ssh_url":"git@github.com:srascar/SonataArticleBundle.git","clone_url":"https://github.com/srascar/SonataArticleBundle.git","svn_url":"https://github.com/srascar/SonataArticleBundle","homepage":"","size":64,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sonata-project:master","ref":"master","sha":"8e3ca570041b444c6492f39b09b68c7403ee76ad","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":63052951,"name":"SonataArticleBundle","full_name":"sonata-project/SonataArticleBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataArticleBundle","description":"Advanced article management","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataArticleBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sonata-project/SonataArticleBundle/deployments","created_at":"2016-07-11T09:01:46Z","updated_at":"2016-07-21T20:36:38Z","pushed_at":"2016-08-04T14:02:08Z","git_url":"git://github.com/sonata-project/SonataArticleBundle.git","ssh_url":"git@github.com:sonata-project/SonataArticleBundle.git","clone_url":"https://github.com/sonata-project/SonataArticleBundle.git","svn_url":"https://github.com/sonata-project/SonataArticleBundle","homepage":"","size":58,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16"},"html":{"href":"https://github.com/sonata-project/SonataArticleBundle/pull/16"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues/16"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataArticleBundle/statuses/e8fa4e71dfafa7328a2ce1ae2e134c96f2bbcefa"}}}}
{"actor":{"display_login":"greg0ire"}}