{"action":"created","comment":{"url":"https://api.github.com/repos/potogan/opk-eiffage/pulls/comments/58052785","id":58052785,"diff_hunk":"@@ -0,0 +1,75 @@\n+<?php\n+\n+namespace OPK\\EiffageBundle\\Context\\Listener;\n+\n+use Twig_Environment;\n+use Symfony\\Component\\HttpKernel\\Event\\KernelEvent;\n+use Symfony\\Component\\Security\\Core\\SecurityContext;\n+use OPK\\EiffageBundle\\Context\\Context;\n+\n+/**\n+ * Request listener.\n+ *\n+ * @author Manuel <manuel.brossard@potogan.fr>\n+ */\n+class Request\n+{\n+    /**\n+     * Context\n+     *\n+     * @var Context\n+     */\n+    protected $context;\n+\n+    /**\n+     * Twig environment.\n+     *\n+     * @var Twig_Environment\n+     */\n+    protected $twig;\n+\n+    /**\n+     * Security Context\n+     *\n+     * @var SecurityContext\n+     */\n+    protected $securityContext;\n+\n+\n+    /**\n+     * Constructor.\n+     *\n+     * @param Context          $context         The Context\n+     * @param Twig_Environment $twig            Twig environment\n+     * @param SecurityContext  $securityContext Security Context\n+     */\n+    public function __construct(Context $context, Twig_Environment $twig, SecurityContext $securityContext)","path":"src/OPK/EiffageBundle/Context/Listener/Request.php","position":46,"original_position":46,"commit_id":"11adf61c7f696415b2973e06515c7a4a0e30837f","original_commit_id":"11adf61c7f696415b2973e06515c7a4a0e30837f","user":{"login":"touki653","id":1842356,"avatar_url":"https://avatars.githubusercontent.com/u/1842356?v=3","gravatar_id":"","url":"https://api.github.com/users/touki653","html_url":"https://github.com/touki653","followers_url":"https://api.github.com/users/touki653/followers","following_url":"https://api.github.com/users/touki653/following{/other_user}","gists_url":"https://api.github.com/users/touki653/gists{/gist_id}","starred_url":"https://api.github.com/users/touki653/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/touki653/subscriptions","organizations_url":"https://api.github.com/users/touki653/orgs","repos_url":"https://api.github.com/users/touki653/repos","events_url":"https://api.github.com/users/touki653/events{/privacy}","received_events_url":"https://api.github.com/users/touki653/received_events","type":"User","site_admin":false},"body":"Context à virer des services, création lors du onKernelRequest","created_at":"2016-03-31T13:29:53Z","updated_at":"2016-03-31T13:29:53Z","html_url":"https://github.com/potogan/opk-eiffage/pull/2#discussion_r58052785","pull_request_url":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/potogan/opk-eiffage/pulls/comments/58052785"},"html":{"href":"https://github.com/potogan/opk-eiffage/pull/2#discussion_r58052785"},"pull_request":{"href":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2","id":64788319,"html_url":"https://github.com/potogan/opk-eiffage/pull/2","diff_url":"https://github.com/potogan/opk-eiffage/pull/2.diff","patch_url":"https://github.com/potogan/opk-eiffage/pull/2.patch","issue_url":"https://api.github.com/repos/potogan/opk-eiffage/issues/2","number":2,"state":"open","locked":false,"title":"Crud journey","user":{"login":"manuelbrossard","id":6471788,"avatar_url":"https://avatars.githubusercontent.com/u/6471788?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelbrossard","html_url":"https://github.com/manuelbrossard","followers_url":"https://api.github.com/users/manuelbrossard/followers","following_url":"https://api.github.com/users/manuelbrossard/following{/other_user}","gists_url":"https://api.github.com/users/manuelbrossard/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelbrossard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelbrossard/subscriptions","organizations_url":"https://api.github.com/users/manuelbrossard/orgs","repos_url":"https://api.github.com/users/manuelbrossard/repos","events_url":"https://api.github.com/users/manuelbrossard/events{/privacy}","received_events_url":"https://api.github.com/users/manuelbrossard/received_events","type":"User","site_admin":false},"body":"# Affected bundle: Eiffage\r\n\r\n+ App\r\n\r\n## Tickets\r\n\r\n- [#3643](http://redmine.potogan.com/issues/3643) CRUD Journey\r\n\r\n## Tests\r\n\r\nNope","created_at":"2016-03-31T13:17:38Z","updated_at":"2016-03-31T13:29:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"749c8bfed5080f01c28b664061fec155083a2486","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2/commits","review_comments_url":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2/comments","review_comment_url":"https://api.github.com/repos/potogan/opk-eiffage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/potogan/opk-eiffage/issues/2/comments","statuses_url":"https://api.github.com/repos/potogan/opk-eiffage/statuses/11adf61c7f696415b2973e06515c7a4a0e30837f","head":{"label":"potogan:crud-journey","ref":"crud-journey","sha":"11adf61c7f696415b2973e06515c7a4a0e30837f","user":{"login":"potogan","id":8558752,"avatar_url":"https://avatars.githubusercontent.com/u/8558752?v=3","gravatar_id":"","url":"https://api.github.com/users/potogan","html_url":"https://github.com/potogan","followers_url":"https://api.github.com/users/potogan/followers","following_url":"https://api.github.com/users/potogan/following{/other_user}","gists_url":"https://api.github.com/users/potogan/gists{/gist_id}","starred_url":"https://api.github.com/users/potogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potogan/subscriptions","organizations_url":"https://api.github.com/users/potogan/orgs","repos_url":"https://api.github.com/users/potogan/repos","events_url":"https://api.github.com/users/potogan/events{/privacy}","received_events_url":"https://api.github.com/users/potogan/received_events","type":"Organization","site_admin":false},"repo":{"id":54544813,"name":"opk-eiffage","full_name":"potogan/opk-eiffage","owner":{"login":"potogan","id":8558752,"avatar_url":"https://avatars.githubusercontent.com/u/8558752?v=3","gravatar_id":"","url":"https://api.github.com/users/potogan","html_url":"https://github.com/potogan","followers_url":"https://api.github.com/users/potogan/followers","following_url":"https://api.github.com/users/potogan/following{/other_user}","gists_url":"https://api.github.com/users/potogan/gists{/gist_id}","starred_url":"https://api.github.com/users/potogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potogan/subscriptions","organizations_url":"https://api.github.com/users/potogan/orgs","repos_url":"https://api.github.com/users/potogan/repos","events_url":"https://api.github.com/users/potogan/events{/privacy}","received_events_url":"https://api.github.com/users/potogan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/potogan/opk-eiffage","description":"","fork":false,"url":"https://api.github.com/repos/potogan/opk-eiffage","forks_url":"https://api.github.com/repos/potogan/opk-eiffage/forks","keys_url":"https://api.github.com/repos/potogan/opk-eiffage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/potogan/opk-eiffage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/potogan/opk-eiffage/teams","hooks_url":"https://api.github.com/repos/potogan/opk-eiffage/hooks","issue_events_url":"https://api.github.com/repos/potogan/opk-eiffage/issues/events{/number}","events_url":"https://api.github.com/repos/potogan/opk-eiffage/events","assignees_url":"https://api.github.com/repos/potogan/opk-eiffage/assignees{/user}","branches_url":"https://api.github.com/repos/potogan/opk-eiffage/branches{/branch}","tags_url":"https://api.github.com/repos/potogan/opk-eiffage/tags","blobs_url":"https://api.github.com/repos/potogan/opk-eiffage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/potogan/opk-eiffage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/potogan/opk-eiffage/git/refs{/sha}","trees_url":"https://api.github.com/repos/potogan/opk-eiffage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/potogan/opk-eiffage/statuses/{sha}","languages_url":"https://api.github.com/repos/potogan/opk-eiffage/languages","stargazers_url":"https://api.github.com/repos/potogan/opk-eiffage/stargazers","contributors_url":"https://api.github.com/repos/potogan/opk-eiffage/contributors","subscribers_url":"https://api.github.com/repos/potogan/opk-eiffage/subscribers","subscription_url":"https://api.github.com/repos/potogan/opk-eiffage/subscription","commits_url":"https://api.github.com/repos/potogan/opk-eiffage/commits{/sha}","git_commits_url":"https://api.github.com/repos/potogan/opk-eiffage/git/commits{/sha}","comments_url":"https://api.github.com/repos/potogan/opk-eiffage/comments{/number}","issue_comment_url":"https://api.github.com/repos/potogan/opk-eiffage/issues/comments{/number}","contents_url":"https://api.github.com/repos/potogan/opk-eiffage/contents/{+path}","compare_url":"https://api.github.com/repos/potogan/opk-eiffage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/potogan/opk-eiffage/merges","archive_url":"https://api.github.com/repos/potogan/opk-eiffage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/potogan/opk-eiffage/downloads","issues_url":"https://api.github.com/repos/potogan/opk-eiffage/issues{/number}","pulls_url":"https://api.github.com/repos/potogan/opk-eiffage/pulls{/number}","milestones_url":"https://api.github.com/repos/potogan/opk-eiffage/milestones{/number}","notifications_url":"https://api.github.com/repos/potogan/opk-eiffage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/potogan/opk-eiffage/labels{/name}","releases_url":"https://api.github.com/repos/potogan/opk-eiffage/releases{/id}","deployments_url":"https://api.github.com/repos/potogan/opk-eiffage/deployments","created_at":"2016-03-23T08:57:16Z","updated_at":"2016-03-23T09:39:01Z","pushed_at":"2016-03-31T13:17:38Z","git_url":"git://github.com/potogan/opk-eiffage.git","ssh_url":"git@github.com:potogan/opk-eiffage.git","clone_url":"https://github.com/potogan/opk-eiffage.git","svn_url":"https://github.com/potogan/opk-eiffage","homepage":null,"size":101,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"potogan:master","ref":"master","sha":"c0e3cdc89d73a18e06d6c741f79a8d1ef77825e1","user":{"login":"potogan","id":8558752,"avatar_url":"https://avatars.githubusercontent.com/u/8558752?v=3","gravatar_id":"","url":"https://api.github.com/users/potogan","html_url":"https://github.com/potogan","followers_url":"https://api.github.com/users/potogan/followers","following_url":"https://api.github.com/users/potogan/following{/other_user}","gists_url":"https://api.github.com/users/potogan/gists{/gist_id}","starred_url":"https://api.github.com/users/potogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potogan/subscriptions","organizations_url":"https://api.github.com/users/potogan/orgs","repos_url":"https://api.github.com/users/potogan/repos","events_url":"https://api.github.com/users/potogan/events{/privacy}","received_events_url":"https://api.github.com/users/potogan/received_events","type":"Organization","site_admin":false},"repo":{"id":54544813,"name":"opk-eiffage","full_name":"potogan/opk-eiffage","owner":{"login":"potogan","id":8558752,"avatar_url":"https://avatars.githubusercontent.com/u/8558752?v=3","gravatar_id":"","url":"https://api.github.com/users/potogan","html_url":"https://github.com/potogan","followers_url":"https://api.github.com/users/potogan/followers","following_url":"https://api.github.com/users/potogan/following{/other_user}","gists_url":"https://api.github.com/users/potogan/gists{/gist_id}","starred_url":"https://api.github.com/users/potogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potogan/subscriptions","organizations_url":"https://api.github.com/users/potogan/orgs","repos_url":"https://api.github.com/users/potogan/repos","events_url":"https://api.github.com/users/potogan/events{/privacy}","received_events_url":"https://api.github.com/users/potogan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/potogan/opk-eiffage","description":"","fork":false,"url":"https://api.github.com/repos/potogan/opk-eiffage","forks_url":"https://api.github.com/repos/potogan/opk-eiffage/forks","keys_url":"https://api.github.com/repos/potogan/opk-eiffage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/potogan/opk-eiffage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/potogan/opk-eiffage/teams","hooks_url":"https://api.github.com/repos/potogan/opk-eiffage/hooks","issue_events_url":"https://api.github.com/repos/potogan/opk-eiffage/issues/events{/number}","events_url":"https://api.github.com/repos/potogan/opk-eiffage/events","assignees_url":"https://api.github.com/repos/potogan/opk-eiffage/assignees{/user}","branches_url":"https://api.github.com/repos/potogan/opk-eiffage/branches{/branch}","tags_url":"https://api.github.com/repos/potogan/opk-eiffage/tags","blobs_url":"https://api.github.com/repos/potogan/opk-eiffage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/potogan/opk-eiffage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/potogan/opk-eiffage/git/refs{/sha}","trees_url":"https://api.github.com/repos/potogan/opk-eiffage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/potogan/opk-eiffage/statuses/{sha}","languages_url":"https://api.github.com/repos/potogan/opk-eiffage/languages","stargazers_url":"https://api.github.com/repos/potogan/opk-eiffage/stargazers","contributors_url":"https://api.github.com/repos/potogan/opk-eiffage/contributors","subscribers_url":"https://api.github.com/repos/potogan/opk-eiffage/subscribers","subscription_url":"https://api.github.com/repos/potogan/opk-eiffage/subscription","commits_url":"https://api.github.com/repos/potogan/opk-eiffage/commits{/sha}","git_commits_url":"https://api.github.com/repos/potogan/opk-eiffage/git/commits{/sha}","comments_url":"https://api.github.com/repos/potogan/opk-eiffage/comments{/number}","issue_comment_url":"https://api.github.com/repos/potogan/opk-eiffage/issues/comments{/number}","contents_url":"https://api.github.com/repos/potogan/opk-eiffage/contents/{+path}","compare_url":"https://api.github.com/repos/potogan/opk-eiffage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/potogan/opk-eiffage/merges","archive_url":"https://api.github.com/repos/potogan/opk-eiffage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/potogan/opk-eiffage/downloads","issues_url":"https://api.github.com/repos/potogan/opk-eiffage/issues{/number}","pulls_url":"https://api.github.com/repos/potogan/opk-eiffage/pulls{/number}","milestones_url":"https://api.github.com/repos/potogan/opk-eiffage/milestones{/number}","notifications_url":"https://api.github.com/repos/potogan/opk-eiffage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/potogan/opk-eiffage/labels{/name}","releases_url":"https://api.github.com/repos/potogan/opk-eiffage/releases{/id}","deployments_url":"https://api.github.com/repos/potogan/opk-eiffage/deployments","created_at":"2016-03-23T08:57:16Z","updated_at":"2016-03-23T09:39:01Z","pushed_at":"2016-03-31T13:17:38Z","git_url":"git://github.com/potogan/opk-eiffage.git","ssh_url":"git@github.com:potogan/opk-eiffage.git","clone_url":"https://github.com/potogan/opk-eiffage.git","svn_url":"https://github.com/potogan/opk-eiffage","homepage":null,"size":101,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2"},"html":{"href":"https://github.com/potogan/opk-eiffage/pull/2"},"issue":{"href":"https://api.github.com/repos/potogan/opk-eiffage/issues/2"},"comments":{"href":"https://api.github.com/repos/potogan/opk-eiffage/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/potogan/opk-eiffage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/potogan/opk-eiffage/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/potogan/opk-eiffage/statuses/11adf61c7f696415b2973e06515c7a4a0e30837f"}}}}