{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ffn_05/pulls/comments/76456425","id":76456425,"diff_hunk":"@@ -11,4 +11,22 @@ public function __construct(Event $event)\n     {\n         parent::__construct($event);\n     }\n+\n+    public function getEventsByMatch($match)\n+    {\n+    \tif (!$match) {\n+    \t\treturn $this->where('match_id', $match->id)->lists('id');\n+    \t}\n+\n+        return [];\n+    }\n+\n+    public function deleteEventsByMatch($match)","path":"app/Repositories/EventRepository.php","position":14,"original_position":14,"commit_id":"aed37f4d9b29e651d99ddb5977c815a3eae37eea","original_commit_id":"aed37f4d9b29e651d99ddb5977c815a3eae37eea","user":{"login":"huynguyenframgia","id":13343536,"avatar_url":"https://avatars.githubusercontent.com/u/13343536?v=3","gravatar_id":"","url":"https://api.github.com/users/huynguyenframgia","html_url":"https://github.com/huynguyenframgia","followers_url":"https://api.github.com/users/huynguyenframgia/followers","following_url":"https://api.github.com/users/huynguyenframgia/following{/other_user}","gists_url":"https://api.github.com/users/huynguyenframgia/gists{/gist_id}","starred_url":"https://api.github.com/users/huynguyenframgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huynguyenframgia/subscriptions","organizations_url":"https://api.github.com/users/huynguyenframgia/orgs","repos_url":"https://api.github.com/users/huynguyenframgia/repos","events_url":"https://api.github.com/users/huynguyenframgia/events{/privacy}","received_events_url":"https://api.github.com/users/huynguyenframgia/received_events","type":"User","site_admin":false},"body":"tương tự https://github.com/framgia/ffn_05/pull/7/files#diff-2e0bbf694c0d302fdb5277e93a569581R15","created_at":"2016-08-26T17:30:42Z","updated_at":"2016-08-26T17:30:42Z","html_url":"https://github.com/framgia/ffn_05/pull/7#discussion_r76456425","pull_request_url":"https://api.github.com/repos/framgia/ffn_05/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/comments/76456425"},"html":{"href":"https://github.com/framgia/ffn_05/pull/7#discussion_r76456425"},"pull_request":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ffn_05/pulls/7","id":82323094,"html_url":"https://github.com/framgia/ffn_05/pull/7","diff_url":"https://github.com/framgia/ffn_05/pull/7.diff","patch_url":"https://github.com/framgia/ffn_05/pull/7.patch","issue_url":"https://api.github.com/repos/framgia/ffn_05/issues/7","number":7,"state":"open","locked":false,"title":"[#73455] Manage Matches","user":{"login":"Namdnitbk92","id":7897902,"avatar_url":"https://avatars.githubusercontent.com/u/7897902?v=3","gravatar_id":"","url":"https://api.github.com/users/Namdnitbk92","html_url":"https://github.com/Namdnitbk92","followers_url":"https://api.github.com/users/Namdnitbk92/followers","following_url":"https://api.github.com/users/Namdnitbk92/following{/other_user}","gists_url":"https://api.github.com/users/Namdnitbk92/gists{/gist_id}","starred_url":"https://api.github.com/users/Namdnitbk92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namdnitbk92/subscriptions","organizations_url":"https://api.github.com/users/Namdnitbk92/orgs","repos_url":"https://api.github.com/users/Namdnitbk92/repos","events_url":"https://api.github.com/users/Namdnitbk92/events{/privacy}","received_events_url":"https://api.github.com/users/Namdnitbk92/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-23T08:30:52Z","updated_at":"2016-08-26T17:30:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62a7edacaed526d986fb73dcb8ce854260f3ef73","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ffn_05/pulls/7/commits","review_comments_url":"https://api.github.com/repos/framgia/ffn_05/pulls/7/comments","review_comment_url":"https://api.github.com/repos/framgia/ffn_05/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ffn_05/issues/7/comments","statuses_url":"https://api.github.com/repos/framgia/ffn_05/statuses/aed37f4d9b29e651d99ddb5977c815a3eae37eea","head":{"label":"Namdnitbk92:CRUDMatches","ref":"CRUDMatches","sha":"aed37f4d9b29e651d99ddb5977c815a3eae37eea","user":{"login":"Namdnitbk92","id":7897902,"avatar_url":"https://avatars.githubusercontent.com/u/7897902?v=3","gravatar_id":"","url":"https://api.github.com/users/Namdnitbk92","html_url":"https://github.com/Namdnitbk92","followers_url":"https://api.github.com/users/Namdnitbk92/followers","following_url":"https://api.github.com/users/Namdnitbk92/following{/other_user}","gists_url":"https://api.github.com/users/Namdnitbk92/gists{/gist_id}","starred_url":"https://api.github.com/users/Namdnitbk92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namdnitbk92/subscriptions","organizations_url":"https://api.github.com/users/Namdnitbk92/orgs","repos_url":"https://api.github.com/users/Namdnitbk92/repos","events_url":"https://api.github.com/users/Namdnitbk92/events{/privacy}","received_events_url":"https://api.github.com/users/Namdnitbk92/received_events","type":"User","site_admin":false},"repo":{"id":65959305,"name":"ffn_05","full_name":"Namdnitbk92/ffn_05","owner":{"login":"Namdnitbk92","id":7897902,"avatar_url":"https://avatars.githubusercontent.com/u/7897902?v=3","gravatar_id":"","url":"https://api.github.com/users/Namdnitbk92","html_url":"https://github.com/Namdnitbk92","followers_url":"https://api.github.com/users/Namdnitbk92/followers","following_url":"https://api.github.com/users/Namdnitbk92/following{/other_user}","gists_url":"https://api.github.com/users/Namdnitbk92/gists{/gist_id}","starred_url":"https://api.github.com/users/Namdnitbk92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namdnitbk92/subscriptions","organizations_url":"https://api.github.com/users/Namdnitbk92/orgs","repos_url":"https://api.github.com/users/Namdnitbk92/repos","events_url":"https://api.github.com/users/Namdnitbk92/events{/privacy}","received_events_url":"https://api.github.com/users/Namdnitbk92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Namdnitbk92/ffn_05","description":"Framgia Football News (training)","fork":true,"url":"https://api.github.com/repos/Namdnitbk92/ffn_05","forks_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/forks","keys_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/teams","hooks_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/hooks","issue_events_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/issues/events{/number}","events_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/events","assignees_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/assignees{/user}","branches_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/branches{/branch}","tags_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/tags","blobs_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/git/refs{/sha}","trees_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/statuses/{sha}","languages_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/languages","stargazers_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/stargazers","contributors_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/contributors","subscribers_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/subscribers","subscription_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/subscription","commits_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/commits{/sha}","git_commits_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/git/commits{/sha}","comments_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/comments{/number}","issue_comment_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/issues/comments{/number}","contents_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/contents/{+path}","compare_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/merges","archive_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/downloads","issues_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/issues{/number}","pulls_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/pulls{/number}","milestones_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/milestones{/number}","notifications_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/labels{/name}","releases_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/releases{/id}","deployments_url":"https://api.github.com/repos/Namdnitbk92/ffn_05/deployments","created_at":"2016-08-18T02:42:42Z","updated_at":"2016-08-18T01:40:48Z","pushed_at":"2016-08-26T17:25:35Z","git_url":"git://github.com/Namdnitbk92/ffn_05.git","ssh_url":"git@github.com:Namdnitbk92/ffn_05.git","clone_url":"https://github.com/Namdnitbk92/ffn_05.git","svn_url":"https://github.com/Namdnitbk92/ffn_05","homepage":null,"size":2369,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"eabdacd685e42277b7f44024d7451cfbaf990d0f","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":65955359,"name":"ffn_05","full_name":"framgia/ffn_05","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/ffn_05","description":"Framgia Football News (training)","fork":false,"url":"https://api.github.com/repos/framgia/ffn_05","forks_url":"https://api.github.com/repos/framgia/ffn_05/forks","keys_url":"https://api.github.com/repos/framgia/ffn_05/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ffn_05/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ffn_05/teams","hooks_url":"https://api.github.com/repos/framgia/ffn_05/hooks","issue_events_url":"https://api.github.com/repos/framgia/ffn_05/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ffn_05/events","assignees_url":"https://api.github.com/repos/framgia/ffn_05/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ffn_05/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ffn_05/tags","blobs_url":"https://api.github.com/repos/framgia/ffn_05/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ffn_05/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ffn_05/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ffn_05/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ffn_05/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ffn_05/languages","stargazers_url":"https://api.github.com/repos/framgia/ffn_05/stargazers","contributors_url":"https://api.github.com/repos/framgia/ffn_05/contributors","subscribers_url":"https://api.github.com/repos/framgia/ffn_05/subscribers","subscription_url":"https://api.github.com/repos/framgia/ffn_05/subscription","commits_url":"https://api.github.com/repos/framgia/ffn_05/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ffn_05/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ffn_05/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ffn_05/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ffn_05/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ffn_05/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ffn_05/merges","archive_url":"https://api.github.com/repos/framgia/ffn_05/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ffn_05/downloads","issues_url":"https://api.github.com/repos/framgia/ffn_05/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ffn_05/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ffn_05/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ffn_05/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ffn_05/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ffn_05/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ffn_05/deployments","created_at":"2016-08-18T01:40:48Z","updated_at":"2016-08-18T01:40:48Z","pushed_at":"2016-08-26T17:25:35Z","git_url":"git://github.com/framgia/ffn_05.git","ssh_url":"git@github.com:framgia/ffn_05.git","clone_url":"https://github.com/framgia/ffn_05.git","svn_url":"https://github.com/framgia/ffn_05","homepage":null,"size":1244,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/7"},"html":{"href":"https://github.com/framgia/ffn_05/pull/7"},"issue":{"href":"https://api.github.com/repos/framgia/ffn_05/issues/7"},"comments":{"href":"https://api.github.com/repos/framgia/ffn_05/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ffn_05/statuses/aed37f4d9b29e651d99ddb5977c815a3eae37eea"}}}}
{"actor":{"display_login":"huynguyenframgia"}}