{"action":"created","comment":{"url":"https://api.github.com/repos/sroze/dock-cli/pulls/comments/34020604","id":34020604,"diff_hunk":"@@ -18,8 +21,12 @@ protected function configure()\n     {\n         $this\n             ->setName('docker:restart')\n-            ->setDescription('Restart Docker')\n-        ;\n+            ->setDescription('Restart Docker');\n+    }\n+\n+    public function setProcessRunner(ProcessRunner $processRunner)\n+    {\n+        $this->processRunner = $processRunner;","path":"src/Cli/RestartCommand.php","position":29,"original_position":29,"commit_id":"fa5385e61c9a8d7f530f341bc8ff0c46d9dd7ac4","original_commit_id":"fa5385e61c9a8d7f530f341bc8ff0c46d9dd7ac4","user":{"login":"sroze","id":804625,"avatar_url":"https://avatars.githubusercontent.com/u/804625?v=3","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"body":"Why setter here too ?","created_at":"2015-07-07T09:06:59Z","updated_at":"2015-07-07T09:06:59Z","html_url":"https://github.com/sroze/dock-cli/pull/16#discussion_r34020604","pull_request_url":"https://api.github.com/repos/sroze/dock-cli/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/sroze/dock-cli/pulls/comments/34020604"},"html":{"href":"https://github.com/sroze/dock-cli/pull/16#discussion_r34020604"},"pull_request":{"href":"https://api.github.com/repos/sroze/dock-cli/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/sroze/dock-cli/pulls/16","id":39317111,"html_url":"https://github.com/sroze/dock-cli/pull/16","diff_url":"https://github.com/sroze/dock-cli/pull/16.diff","patch_url":"https://github.com/sroze/dock-cli/pull/16.patch","issue_url":"https://api.github.com/repos/sroze/dock-cli/issues/16","number":16,"state":"open","locked":false,"title":"[WIP] Mock process runner","user":{"login":"tonypiper","id":206124,"avatar_url":"https://avatars.githubusercontent.com/u/206124?v=3","gravatar_id":"","url":"https://api.github.com/users/tonypiper","html_url":"https://github.com/tonypiper","followers_url":"https://api.github.com/users/tonypiper/followers","following_url":"https://api.github.com/users/tonypiper/following{/other_user}","gists_url":"https://api.github.com/users/tonypiper/gists{/gist_id}","starred_url":"https://api.github.com/users/tonypiper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonypiper/subscriptions","organizations_url":"https://api.github.com/users/tonypiper/orgs","repos_url":"https://api.github.com/users/tonypiper/repos","events_url":"https://api.github.com/users/tonypiper/events{/privacy}","received_events_url":"https://api.github.com/users/tonypiper/received_events","type":"User","site_admin":false},"body":"- [x] introduce a DI container (using Pimple)\r\n- [x] remove un-needed Application class\r\n- [x] create a new Mock Process Runner","created_at":"2015-07-06T22:19:54Z","updated_at":"2015-07-07T09:06:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66838493496f0cede9bc3ffdbd31d5969bdfedcf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sroze/dock-cli/pulls/16/commits","review_comments_url":"https://api.github.com/repos/sroze/dock-cli/pulls/16/comments","review_comment_url":"https://api.github.com/repos/sroze/dock-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sroze/dock-cli/issues/16/comments","statuses_url":"https://api.github.com/repos/sroze/dock-cli/statuses/fa5385e61c9a8d7f530f341bc8ff0c46d9dd7ac4","head":{"label":"sroze:mock-process-runner","ref":"mock-process-runner","sha":"fa5385e61c9a8d7f530f341bc8ff0c46d9dd7ac4","user":{"login":"sroze","id":804625,"avatar_url":"https://avatars.githubusercontent.com/u/804625?v=3","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"repo":{"id":38247482,"name":"dock-cli","full_name":"sroze/dock-cli","owner":{"login":"sroze","id":804625,"avatar_url":"https://avatars.githubusercontent.com/u/804625?v=3","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sroze/dock-cli","description":"Dock CLI","fork":false,"url":"https://api.github.com/repos/sroze/dock-cli","forks_url":"https://api.github.com/repos/sroze/dock-cli/forks","keys_url":"https://api.github.com/repos/sroze/dock-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sroze/dock-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sroze/dock-cli/teams","hooks_url":"https://api.github.com/repos/sroze/dock-cli/hooks","issue_events_url":"https://api.github.com/repos/sroze/dock-cli/issues/events{/number}","events_url":"https://api.github.com/repos/sroze/dock-cli/events","assignees_url":"https://api.github.com/repos/sroze/dock-cli/assignees{/user}","branches_url":"https://api.github.com/repos/sroze/dock-cli/branches{/branch}","tags_url":"https://api.github.com/repos/sroze/dock-cli/tags","blobs_url":"https://api.github.com/repos/sroze/dock-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sroze/dock-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sroze/dock-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/sroze/dock-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sroze/dock-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/sroze/dock-cli/languages","stargazers_url":"https://api.github.com/repos/sroze/dock-cli/stargazers","contributors_url":"https://api.github.com/repos/sroze/dock-cli/contributors","subscribers_url":"https://api.github.com/repos/sroze/dock-cli/subscribers","subscription_url":"https://api.github.com/repos/sroze/dock-cli/subscription","commits_url":"https://api.github.com/repos/sroze/dock-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/sroze/dock-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/sroze/dock-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/sroze/dock-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/sroze/dock-cli/contents/{+path}","compare_url":"https://api.github.com/repos/sroze/dock-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sroze/dock-cli/merges","archive_url":"https://api.github.com/repos/sroze/dock-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sroze/dock-cli/downloads","issues_url":"https://api.github.com/repos/sroze/dock-cli/issues{/number}","pulls_url":"https://api.github.com/repos/sroze/dock-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/sroze/dock-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/sroze/dock-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sroze/dock-cli/labels{/name}","releases_url":"https://api.github.com/repos/sroze/dock-cli/releases{/id}","created_at":"2015-06-29T12:52:25Z","updated_at":"2015-07-06T08:52:31Z","pushed_at":"2015-07-07T09:04:57Z","git_url":"git://github.com/sroze/dock-cli.git","ssh_url":"git@github.com:sroze/dock-cli.git","clone_url":"https://github.com/sroze/dock-cli.git","svn_url":"https://github.com/sroze/dock-cli","homepage":null,"size":4129,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"sroze:master","ref":"master","sha":"d22d563967ae63a0c634453c30e0c258d80028f6","user":{"login":"sroze","id":804625,"avatar_url":"https://avatars.githubusercontent.com/u/804625?v=3","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"repo":{"id":38247482,"name":"dock-cli","full_name":"sroze/dock-cli","owner":{"login":"sroze","id":804625,"avatar_url":"https://avatars.githubusercontent.com/u/804625?v=3","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sroze/dock-cli","description":"Dock CLI","fork":false,"url":"https://api.github.com/repos/sroze/dock-cli","forks_url":"https://api.github.com/repos/sroze/dock-cli/forks","keys_url":"https://api.github.com/repos/sroze/dock-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sroze/dock-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sroze/dock-cli/teams","hooks_url":"https://api.github.com/repos/sroze/dock-cli/hooks","issue_events_url":"https://api.github.com/repos/sroze/dock-cli/issues/events{/number}","events_url":"https://api.github.com/repos/sroze/dock-cli/events","assignees_url":"https://api.github.com/repos/sroze/dock-cli/assignees{/user}","branches_url":"https://api.github.com/repos/sroze/dock-cli/branches{/branch}","tags_url":"https://api.github.com/repos/sroze/dock-cli/tags","blobs_url":"https://api.github.com/repos/sroze/dock-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sroze/dock-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sroze/dock-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/sroze/dock-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sroze/dock-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/sroze/dock-cli/languages","stargazers_url":"https://api.github.com/repos/sroze/dock-cli/stargazers","contributors_url":"https://api.github.com/repos/sroze/dock-cli/contributors","subscribers_url":"https://api.github.com/repos/sroze/dock-cli/subscribers","subscription_url":"https://api.github.com/repos/sroze/dock-cli/subscription","commits_url":"https://api.github.com/repos/sroze/dock-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/sroze/dock-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/sroze/dock-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/sroze/dock-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/sroze/dock-cli/contents/{+path}","compare_url":"https://api.github.com/repos/sroze/dock-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sroze/dock-cli/merges","archive_url":"https://api.github.com/repos/sroze/dock-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sroze/dock-cli/downloads","issues_url":"https://api.github.com/repos/sroze/dock-cli/issues{/number}","pulls_url":"https://api.github.com/repos/sroze/dock-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/sroze/dock-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/sroze/dock-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sroze/dock-cli/labels{/name}","releases_url":"https://api.github.com/repos/sroze/dock-cli/releases{/id}","created_at":"2015-06-29T12:52:25Z","updated_at":"2015-07-06T08:52:31Z","pushed_at":"2015-07-07T09:04:57Z","git_url":"git://github.com/sroze/dock-cli.git","ssh_url":"git@github.com:sroze/dock-cli.git","clone_url":"https://github.com/sroze/dock-cli.git","svn_url":"https://github.com/sroze/dock-cli","homepage":null,"size":4129,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sroze/dock-cli/pulls/16"},"html":{"href":"https://github.com/sroze/dock-cli/pull/16"},"issue":{"href":"https://api.github.com/repos/sroze/dock-cli/issues/16"},"comments":{"href":"https://api.github.com/repos/sroze/dock-cli/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/sroze/dock-cli/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/sroze/dock-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sroze/dock-cli/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/sroze/dock-cli/statuses/fa5385e61c9a8d7f530f341bc8ff0c46d9dd7ac4"}}}}