{"action":"created","comment":{"url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/comments/81506300","pull_request_review_id":2480903,"id":81506300,"diff_hunk":"@@ -0,0 +1,75 @@\n+<?php\n+\n+namespace OpenClassrooms\\FrontDesk\\Models\\Impl;\n+\n+use OpenClassrooms\\FrontDesk\\Models\\PackBuilder;\n+\n+/**\n+ * @author Killian Herbunot <killian.herbunot@openclassrooms.com>\n+ */\n+class PackBuilderImpl implements PackBuilder\n+{\n+    /**\n+     * @var PackImpl\n+     */\n+    private $pack;\n+\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function create()\n+    {\n+        $this->pack = new PackImpl();\n+\n+        return $this;\n+    }\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function withCount($count)\n+    {\n+        $this->pack->setCount($count);\n+\n+        return $this;\n+    }\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function withEndDate($endDate)\n+    {\n+        $this->pack->setEndDate($endDate);\n+\n+        return $this;\n+    }\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function withPersonIds($personIds)\n+    {\n+        $this->pack->setPersonIds($personIds);\n+\n+        return $this;\n+    }\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function withStartDate($startDate)","path":"src/Models/Impl/PackBuilderImpl.php","position":61,"original_position":61,"commit_id":"81c79c4de8573aae42c0557d9aaf0873c868a63f","original_commit_id":"81c79c4de8573aae42c0557d9aaf0873c868a63f","user":{"login":"romainkuzniak","id":1823301,"avatar_url":"https://avatars.githubusercontent.com/u/1823301?v=3","gravatar_id":"","url":"https://api.github.com/users/romainkuzniak","html_url":"https://github.com/romainkuzniak","followers_url":"https://api.github.com/users/romainkuzniak/followers","following_url":"https://api.github.com/users/romainkuzniak/following{/other_user}","gists_url":"https://api.github.com/users/romainkuzniak/gists{/gist_id}","starred_url":"https://api.github.com/users/romainkuzniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainkuzniak/subscriptions","organizations_url":"https://api.github.com/users/romainkuzniak/orgs","repos_url":"https://api.github.com/users/romainkuzniak/repos","events_url":"https://api.github.com/users/romainkuzniak/events{/privacy}","received_events_url":"https://api.github.com/users/romainkuzniak/received_events","type":"User","site_admin":false},"body":"\\DateTime","created_at":"2016-10-03T08:09:33Z","updated_at":"2016-10-03T08:09:33Z","html_url":"https://github.com/OpenClassrooms/FrontDesk/pull/1#discussion_r81506300","pull_request_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/comments/81506300"},"html":{"href":"https://github.com/OpenClassrooms/FrontDesk/pull/1#discussion_r81506300"},"pull_request":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1","id":87278219,"html_url":"https://github.com/OpenClassrooms/FrontDesk/pull/1","diff_url":"https://github.com/OpenClassrooms/FrontDesk/pull/1.diff","patch_url":"https://github.com/OpenClassrooms/FrontDesk/pull/1.patch","issue_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/1","number":1,"state":"open","locked":false,"title":"create library for person and pack in frontdesk","user":{"login":"killianherbunot","id":10085296,"avatar_url":"https://avatars.githubusercontent.com/u/10085296?v=3","gravatar_id":"","url":"https://api.github.com/users/killianherbunot","html_url":"https://github.com/killianherbunot","followers_url":"https://api.github.com/users/killianherbunot/followers","following_url":"https://api.github.com/users/killianherbunot/following{/other_user}","gists_url":"https://api.github.com/users/killianherbunot/gists{/gist_id}","starred_url":"https://api.github.com/users/killianherbunot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killianherbunot/subscriptions","organizations_url":"https://api.github.com/users/killianherbunot/orgs","repos_url":"https://api.github.com/users/killianherbunot/repos","events_url":"https://api.github.com/users/killianherbunot/events{/privacy}","received_events_url":"https://api.github.com/users/killianherbunot/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-29T09:40:49Z","updated_at":"2016-10-03T08:28:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45314569c75a45a7ce821a5dfe20f58043684b7a","assignee":{"login":"arnaud-23","id":2587655,"avatar_url":"https://avatars.githubusercontent.com/u/2587655?v=3","gravatar_id":"","url":"https://api.github.com/users/arnaud-23","html_url":"https://github.com/arnaud-23","followers_url":"https://api.github.com/users/arnaud-23/followers","following_url":"https://api.github.com/users/arnaud-23/following{/other_user}","gists_url":"https://api.github.com/users/arnaud-23/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaud-23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaud-23/subscriptions","organizations_url":"https://api.github.com/users/arnaud-23/orgs","repos_url":"https://api.github.com/users/arnaud-23/repos","events_url":"https://api.github.com/users/arnaud-23/events{/privacy}","received_events_url":"https://api.github.com/users/arnaud-23/received_events","type":"User","site_admin":false},"assignees":[{"login":"arnaud-23","id":2587655,"avatar_url":"https://avatars.githubusercontent.com/u/2587655?v=3","gravatar_id":"","url":"https://api.github.com/users/arnaud-23","html_url":"https://github.com/arnaud-23","followers_url":"https://api.github.com/users/arnaud-23/followers","following_url":"https://api.github.com/users/arnaud-23/following{/other_user}","gists_url":"https://api.github.com/users/arnaud-23/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaud-23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaud-23/subscriptions","organizations_url":"https://api.github.com/users/arnaud-23/orgs","repos_url":"https://api.github.com/users/arnaud-23/repos","events_url":"https://api.github.com/users/arnaud-23/events{/privacy}","received_events_url":"https://api.github.com/users/arnaud-23/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1/commits","review_comments_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1/comments","review_comment_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/1/comments","statuses_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/statuses/81c79c4de8573aae42c0557d9aaf0873c868a63f","head":{"label":"OpenClassrooms:OC-5843_create_frontdesk_library","ref":"OC-5843_create_frontdesk_library","sha":"81c79c4de8573aae42c0557d9aaf0873c868a63f","user":{"login":"OpenClassrooms","id":5389533,"avatar_url":"https://avatars.githubusercontent.com/u/5389533?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenClassrooms","html_url":"https://github.com/OpenClassrooms","followers_url":"https://api.github.com/users/OpenClassrooms/followers","following_url":"https://api.github.com/users/OpenClassrooms/following{/other_user}","gists_url":"https://api.github.com/users/OpenClassrooms/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenClassrooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenClassrooms/subscriptions","organizations_url":"https://api.github.com/users/OpenClassrooms/orgs","repos_url":"https://api.github.com/users/OpenClassrooms/repos","events_url":"https://api.github.com/users/OpenClassrooms/events{/privacy}","received_events_url":"https://api.github.com/users/OpenClassrooms/received_events","type":"Organization","site_admin":false},"repo":{"id":69547650,"name":"FrontDesk","full_name":"OpenClassrooms/FrontDesk","owner":{"login":"OpenClassrooms","id":5389533,"avatar_url":"https://avatars.githubusercontent.com/u/5389533?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenClassrooms","html_url":"https://github.com/OpenClassrooms","followers_url":"https://api.github.com/users/OpenClassrooms/followers","following_url":"https://api.github.com/users/OpenClassrooms/following{/other_user}","gists_url":"https://api.github.com/users/OpenClassrooms/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenClassrooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenClassrooms/subscriptions","organizations_url":"https://api.github.com/users/OpenClassrooms/orgs","repos_url":"https://api.github.com/users/OpenClassrooms/repos","events_url":"https://api.github.com/users/OpenClassrooms/events{/privacy}","received_events_url":"https://api.github.com/users/OpenClassrooms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenClassrooms/FrontDesk","description":null,"fork":false,"url":"https://api.github.com/repos/OpenClassrooms/FrontDesk","forks_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/forks","keys_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/teams","hooks_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/hooks","issue_events_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/events{/number}","events_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/events","assignees_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/assignees{/user}","branches_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/branches{/branch}","tags_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/tags","blobs_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/languages","stargazers_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/stargazers","contributors_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/contributors","subscribers_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/subscribers","subscription_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/subscription","commits_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/contents/{+path}","compare_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/merges","archive_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/downloads","issues_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues{/number}","pulls_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/labels{/name}","releases_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/releases{/id}","deployments_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/deployments","created_at":"2016-09-29T08:32:22Z","updated_at":"2016-09-29T08:32:22Z","pushed_at":"2016-09-30T15:47:02Z","git_url":"git://github.com/OpenClassrooms/FrontDesk.git","ssh_url":"git@github.com:OpenClassrooms/FrontDesk.git","clone_url":"https://github.com/OpenClassrooms/FrontDesk.git","svn_url":"https://github.com/OpenClassrooms/FrontDesk","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":null,"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":"OpenClassrooms:master","ref":"master","sha":"f87bc927a5d73afe7ad8e7bceac36e7c3ea5c14e","user":{"login":"OpenClassrooms","id":5389533,"avatar_url":"https://avatars.githubusercontent.com/u/5389533?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenClassrooms","html_url":"https://github.com/OpenClassrooms","followers_url":"https://api.github.com/users/OpenClassrooms/followers","following_url":"https://api.github.com/users/OpenClassrooms/following{/other_user}","gists_url":"https://api.github.com/users/OpenClassrooms/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenClassrooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenClassrooms/subscriptions","organizations_url":"https://api.github.com/users/OpenClassrooms/orgs","repos_url":"https://api.github.com/users/OpenClassrooms/repos","events_url":"https://api.github.com/users/OpenClassrooms/events{/privacy}","received_events_url":"https://api.github.com/users/OpenClassrooms/received_events","type":"Organization","site_admin":false},"repo":{"id":69547650,"name":"FrontDesk","full_name":"OpenClassrooms/FrontDesk","owner":{"login":"OpenClassrooms","id":5389533,"avatar_url":"https://avatars.githubusercontent.com/u/5389533?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenClassrooms","html_url":"https://github.com/OpenClassrooms","followers_url":"https://api.github.com/users/OpenClassrooms/followers","following_url":"https://api.github.com/users/OpenClassrooms/following{/other_user}","gists_url":"https://api.github.com/users/OpenClassrooms/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenClassrooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenClassrooms/subscriptions","organizations_url":"https://api.github.com/users/OpenClassrooms/orgs","repos_url":"https://api.github.com/users/OpenClassrooms/repos","events_url":"https://api.github.com/users/OpenClassrooms/events{/privacy}","received_events_url":"https://api.github.com/users/OpenClassrooms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenClassrooms/FrontDesk","description":null,"fork":false,"url":"https://api.github.com/repos/OpenClassrooms/FrontDesk","forks_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/forks","keys_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/teams","hooks_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/hooks","issue_events_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/events{/number}","events_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/events","assignees_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/assignees{/user}","branches_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/branches{/branch}","tags_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/tags","blobs_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/languages","stargazers_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/stargazers","contributors_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/contributors","subscribers_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/subscribers","subscription_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/subscription","commits_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/contents/{+path}","compare_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/merges","archive_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/downloads","issues_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues{/number}","pulls_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/labels{/name}","releases_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/releases{/id}","deployments_url":"https://api.github.com/repos/OpenClassrooms/FrontDesk/deployments","created_at":"2016-09-29T08:32:22Z","updated_at":"2016-09-29T08:32:22Z","pushed_at":"2016-09-30T15:47:02Z","git_url":"git://github.com/OpenClassrooms/FrontDesk.git","ssh_url":"git@github.com:OpenClassrooms/FrontDesk.git","clone_url":"https://github.com/OpenClassrooms/FrontDesk.git","svn_url":"https://github.com/OpenClassrooms/FrontDesk","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":null,"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/OpenClassrooms/FrontDesk/pulls/1"},"html":{"href":"https://github.com/OpenClassrooms/FrontDesk/pull/1"},"issue":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/1"},"comments":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/OpenClassrooms/FrontDesk/statuses/81c79c4de8573aae42c0557d9aaf0873c868a63f"}}}}
{"actor":{"display_login":"romainkuzniak"}}