{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony/pulls/comments/50811122","id":50811122,"diff_hunk":"@@ -83,10 +88,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n     /**\n      * Loads the Event Dispatcher from the container.\n      *\n+     * @param string $serviceId\n+     *\n      * @return EventDispatcherInterface\n      */\n-    protected function getEventDispatcher()\n+    protected function getEventDispatcher($serviceId)\n     {\n-        return $this->getContainer()->get('event_dispatcher');\n+        return $this->getContainer()->get($serviceId);","path":"src/Symfony/Bundle/FrameworkBundle/Command/EventDispatcherDebugCommand.php","position":40,"original_position":40,"commit_id":"e288764dbd0b2419ef4bedf22f91bed397004fb2","original_commit_id":"e288764dbd0b2419ef4bedf22f91bed397004fb2","user":{"login":"Koc","id":191082,"avatar_url":"https://avatars.githubusercontent.com/u/191082?v=3","gravatar_id":"","url":"https://api.github.com/users/Koc","html_url":"https://github.com/Koc","followers_url":"https://api.github.com/users/Koc/followers","following_url":"https://api.github.com/users/Koc/following{/other_user}","gists_url":"https://api.github.com/users/Koc/gists{/gist_id}","starred_url":"https://api.github.com/users/Koc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koc/subscriptions","organizations_url":"https://api.github.com/users/Koc/orgs","repos_url":"https://api.github.com/users/Koc/repos","events_url":"https://api.github.com/users/Koc/events{/privacy}","received_events_url":"https://api.github.com/users/Koc/received_events","type":"User","site_admin":false},"body":"Please add check that service implements expected interface","created_at":"2016-01-26T09:29:12Z","updated_at":"2016-01-26T09:29:12Z","html_url":"https://github.com/symfony/symfony/pull/17541#discussion_r50811122","pull_request_url":"https://api.github.com/repos/symfony/symfony/pulls/17541","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments/50811122"},"html":{"href":"https://github.com/symfony/symfony/pull/17541#discussion_r50811122"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17541"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/17541","id":57186378,"html_url":"https://github.com/symfony/symfony/pull/17541","diff_url":"https://github.com/symfony/symfony/pull/17541.diff","patch_url":"https://github.com/symfony/symfony/pull/17541.patch","issue_url":"https://api.github.com/repos/symfony/symfony/issues/17541","number":17541,"state":"open","locked":false,"title":"Allow to specify serviceId of the event_dispatcher in the debug:event-dispatcher CLI","user":{"login":"tyx","id":245494,"avatar_url":"https://avatars.githubusercontent.com/u/245494?v=3","gravatar_id":"","url":"https://api.github.com/users/tyx","html_url":"https://github.com/tyx","followers_url":"https://api.github.com/users/tyx/followers","following_url":"https://api.github.com/users/tyx/following{/other_user}","gists_url":"https://api.github.com/users/tyx/gists{/gist_id}","starred_url":"https://api.github.com/users/tyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyx/subscriptions","organizations_url":"https://api.github.com/users/tyx/orgs","repos_url":"https://api.github.com/users/tyx/repos","events_url":"https://api.github.com/users/tyx/events{/privacy}","received_events_url":"https://api.github.com/users/tyx/received_events","type":"User","site_admin":false},"body":"Because we can have others event dispatcher in apps\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| License       | MIT","created_at":"2016-01-26T09:24:36Z","updated_at":"2016-01-26T09:29:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8cabf9ad373a34dacf531fe60c5ef201012abf8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony/pulls/17541/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony/pulls/17541/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/17541/comments","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/e288764dbd0b2419ef4bedf22f91bed397004fb2","head":{"label":"tyx:feature/specify-service-id-debug-event-dispatcher","ref":"feature/specify-service-id-debug-event-dispatcher","sha":"e288764dbd0b2419ef4bedf22f91bed397004fb2","user":{"login":"tyx","id":245494,"avatar_url":"https://avatars.githubusercontent.com/u/245494?v=3","gravatar_id":"","url":"https://api.github.com/users/tyx","html_url":"https://github.com/tyx","followers_url":"https://api.github.com/users/tyx/followers","following_url":"https://api.github.com/users/tyx/following{/other_user}","gists_url":"https://api.github.com/users/tyx/gists{/gist_id}","starred_url":"https://api.github.com/users/tyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyx/subscriptions","organizations_url":"https://api.github.com/users/tyx/orgs","repos_url":"https://api.github.com/users/tyx/repos","events_url":"https://api.github.com/users/tyx/events{/privacy}","received_events_url":"https://api.github.com/users/tyx/received_events","type":"User","site_admin":false},"repo":{"id":12540108,"name":"symfony","full_name":"tyx/symfony","owner":{"login":"tyx","id":245494,"avatar_url":"https://avatars.githubusercontent.com/u/245494?v=3","gravatar_id":"","url":"https://api.github.com/users/tyx","html_url":"https://github.com/tyx","followers_url":"https://api.github.com/users/tyx/followers","following_url":"https://api.github.com/users/tyx/following{/other_user}","gists_url":"https://api.github.com/users/tyx/gists{/gist_id}","starred_url":"https://api.github.com/users/tyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyx/subscriptions","organizations_url":"https://api.github.com/users/tyx/orgs","repos_url":"https://api.github.com/users/tyx/repos","events_url":"https://api.github.com/users/tyx/events{/privacy}","received_events_url":"https://api.github.com/users/tyx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tyx/symfony","description":"The Symfony PHP framework","fork":true,"url":"https://api.github.com/repos/tyx/symfony","forks_url":"https://api.github.com/repos/tyx/symfony/forks","keys_url":"https://api.github.com/repos/tyx/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tyx/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tyx/symfony/teams","hooks_url":"https://api.github.com/repos/tyx/symfony/hooks","issue_events_url":"https://api.github.com/repos/tyx/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/tyx/symfony/events","assignees_url":"https://api.github.com/repos/tyx/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/tyx/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/tyx/symfony/tags","blobs_url":"https://api.github.com/repos/tyx/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tyx/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tyx/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/tyx/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tyx/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/tyx/symfony/languages","stargazers_url":"https://api.github.com/repos/tyx/symfony/stargazers","contributors_url":"https://api.github.com/repos/tyx/symfony/contributors","subscribers_url":"https://api.github.com/repos/tyx/symfony/subscribers","subscription_url":"https://api.github.com/repos/tyx/symfony/subscription","commits_url":"https://api.github.com/repos/tyx/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/tyx/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/tyx/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/tyx/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/tyx/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/tyx/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tyx/symfony/merges","archive_url":"https://api.github.com/repos/tyx/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tyx/symfony/downloads","issues_url":"https://api.github.com/repos/tyx/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/tyx/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/tyx/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/tyx/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tyx/symfony/labels{/name}","releases_url":"https://api.github.com/repos/tyx/symfony/releases{/id}","deployments_url":"https://api.github.com/repos/tyx/symfony/deployments","created_at":"2013-09-02T12:59:52Z","updated_at":"2013-09-27T08:03:03Z","pushed_at":"2016-01-26T09:23:25Z","git_url":"git://github.com/tyx/symfony.git","ssh_url":"git@github.com:tyx/symfony.git","clone_url":"https://github.com/tyx/symfony.git","svn_url":"https://github.com/tyx/symfony","homepage":"symfony.com","size":65875,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"symfony:master","ref":"master","sha":"c5a78860f50bdb28dbbae55d1934f6ae8dc536b8","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":458058,"name":"symfony","full_name":"symfony/symfony","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony","description":"The Symfony PHP framework","fork":false,"url":"https://api.github.com/repos/symfony/symfony","forks_url":"https://api.github.com/repos/symfony/symfony/forks","keys_url":"https://api.github.com/repos/symfony/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony/teams","hooks_url":"https://api.github.com/repos/symfony/symfony/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony/events","assignees_url":"https://api.github.com/repos/symfony/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony/tags","blobs_url":"https://api.github.com/repos/symfony/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony/subscription","commits_url":"https://api.github.com/repos/symfony/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony/merges","archive_url":"https://api.github.com/repos/symfony/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony/downloads","issues_url":"https://api.github.com/repos/symfony/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony/deployments","created_at":"2010-01-04T14:21:21Z","updated_at":"2016-01-26T09:07:11Z","pushed_at":"2016-01-26T09:24:36Z","git_url":"git://github.com/symfony/symfony.git","ssh_url":"git@github.com:symfony/symfony.git","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://github.com/symfony/symfony","homepage":"symfony.com","size":99513,"stargazers_count":11605,"watchers_count":11605,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4561,"mirror_url":null,"open_issues_count":821,"forks":4561,"open_issues":821,"watchers":11605,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17541"},"html":{"href":"https://github.com/symfony/symfony/pull/17541"},"issue":{"href":"https://api.github.com/repos/symfony/symfony/issues/17541"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/17541/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17541/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17541/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony/statuses/e288764dbd0b2419ef4bedf22f91bed397004fb2"}}}}