{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fbs_01/pulls/comments/92091720","pull_request_review_id":12600576,"id":92091720,"diff_hunk":"@@ -0,0 +1,42 @@\n+<?php \n+\n+namespace App\\Repositories\\Eloquent;\n+\n+use App\\Repositories\\Contracts\\CategoryRepositoryInterface;\n+use Prettus\\Repository\\Eloquent\\BaseRepository;\n+use App\\Models\\Category;\n+use Lang;\n+\n+class CategoryRepository extends BaseRepository implements CategoryRepositoryInterface\n+{\n+    public function model()\n+    {\n+        return Category::class;\n+    }\n+\n+    private function validate($data, $ruleName)\n+    {\n+        return $this->model->validate($data, $ruleName);\n+    }\n+\n+    public function paginate($perPage = 0, $columns = array('*')) {","path":"app/Repositories/Eloquent/CategoryRepository.php","position":22,"original_position":22,"commit_id":"b743a245a6cac9767b35112af712b40842eb45a2","original_commit_id":"b743a245a6cac9767b35112af712b40842eb45a2","user":{"login":"HoangThiTuanDung","id":5584520,"avatar_url":"https://avatars.githubusercontent.com/u/5584520?v=3","gravatar_id":"","url":"https://api.github.com/users/HoangThiTuanDung","html_url":"https://github.com/HoangThiTuanDung","followers_url":"https://api.github.com/users/HoangThiTuanDung/followers","following_url":"https://api.github.com/users/HoangThiTuanDung/following{/other_user}","gists_url":"https://api.github.com/users/HoangThiTuanDung/gists{/gist_id}","starred_url":"https://api.github.com/users/HoangThiTuanDung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoangThiTuanDung/subscriptions","organizations_url":"https://api.github.com/users/HoangThiTuanDung/orgs","repos_url":"https://api.github.com/users/HoangThiTuanDung/repos","events_url":"https://api.github.com/users/HoangThiTuanDung/events{/privacy}","received_events_url":"https://api.github.com/users/HoangThiTuanDung/received_events","type":"User","site_admin":false},"body":"conventions","created_at":"2016-12-13T03:23:49Z","updated_at":"2016-12-13T03:30:59Z","html_url":"https://github.com/framgia/fbs_01/pull/7#discussion_r92091720","pull_request_url":"https://api.github.com/repos/framgia/fbs_01/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/comments/92091720"},"html":{"href":"https://github.com/framgia/fbs_01/pull/7#discussion_r92091720"},"pull_request":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fbs_01/pulls/7","id":97501775,"html_url":"https://github.com/framgia/fbs_01/pull/7","diff_url":"https://github.com/framgia/fbs_01/pull/7.diff","patch_url":"https://github.com/framgia/fbs_01/pull/7.patch","issue_url":"https://api.github.com/repos/framgia/fbs_01/issues/7","number":7,"state":"open","locked":false,"title":"Create category/subcategory","user":{"login":"chukimthang","id":17583084,"avatar_url":"https://avatars.githubusercontent.com/u/17583084?v=3","gravatar_id":"","url":"https://api.github.com/users/chukimthang","html_url":"https://github.com/chukimthang","followers_url":"https://api.github.com/users/chukimthang/followers","following_url":"https://api.github.com/users/chukimthang/following{/other_user}","gists_url":"https://api.github.com/users/chukimthang/gists{/gist_id}","starred_url":"https://api.github.com/users/chukimthang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukimthang/subscriptions","organizations_url":"https://api.github.com/users/chukimthang/orgs","repos_url":"https://api.github.com/users/chukimthang/repos","events_url":"https://api.github.com/users/chukimthang/events{/privacy}","received_events_url":"https://api.github.com/users/chukimthang/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-12T06:41:08Z","updated_at":"2016-12-13T03:30:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11fba51f73113a00972242a2eb4e4d722b2bb19d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fbs_01/pulls/7/commits","review_comments_url":"https://api.github.com/repos/framgia/fbs_01/pulls/7/comments","review_comment_url":"https://api.github.com/repos/framgia/fbs_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fbs_01/issues/7/comments","statuses_url":"https://api.github.com/repos/framgia/fbs_01/statuses/b743a245a6cac9767b35112af712b40842eb45a2","head":{"label":"chukimthang:manage-categories","ref":"manage-categories","sha":"b743a245a6cac9767b35112af712b40842eb45a2","user":{"login":"chukimthang","id":17583084,"avatar_url":"https://avatars.githubusercontent.com/u/17583084?v=3","gravatar_id":"","url":"https://api.github.com/users/chukimthang","html_url":"https://github.com/chukimthang","followers_url":"https://api.github.com/users/chukimthang/followers","following_url":"https://api.github.com/users/chukimthang/following{/other_user}","gists_url":"https://api.github.com/users/chukimthang/gists{/gist_id}","starred_url":"https://api.github.com/users/chukimthang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukimthang/subscriptions","organizations_url":"https://api.github.com/users/chukimthang/orgs","repos_url":"https://api.github.com/users/chukimthang/repos","events_url":"https://api.github.com/users/chukimthang/events{/privacy}","received_events_url":"https://api.github.com/users/chukimthang/received_events","type":"User","site_admin":false},"repo":{"id":75818732,"name":"fbs_01","full_name":"chukimthang/fbs_01","owner":{"login":"chukimthang","id":17583084,"avatar_url":"https://avatars.githubusercontent.com/u/17583084?v=3","gravatar_id":"","url":"https://api.github.com/users/chukimthang","html_url":"https://github.com/chukimthang","followers_url":"https://api.github.com/users/chukimthang/followers","following_url":"https://api.github.com/users/chukimthang/following{/other_user}","gists_url":"https://api.github.com/users/chukimthang/gists{/gist_id}","starred_url":"https://api.github.com/users/chukimthang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukimthang/subscriptions","organizations_url":"https://api.github.com/users/chukimthang/orgs","repos_url":"https://api.github.com/users/chukimthang/repos","events_url":"https://api.github.com/users/chukimthang/events{/privacy}","received_events_url":"https://api.github.com/users/chukimthang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chukimthang/fbs_01","description":"Framgia Buy & Sale (training)","fork":true,"url":"https://api.github.com/repos/chukimthang/fbs_01","forks_url":"https://api.github.com/repos/chukimthang/fbs_01/forks","keys_url":"https://api.github.com/repos/chukimthang/fbs_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chukimthang/fbs_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chukimthang/fbs_01/teams","hooks_url":"https://api.github.com/repos/chukimthang/fbs_01/hooks","issue_events_url":"https://api.github.com/repos/chukimthang/fbs_01/issues/events{/number}","events_url":"https://api.github.com/repos/chukimthang/fbs_01/events","assignees_url":"https://api.github.com/repos/chukimthang/fbs_01/assignees{/user}","branches_url":"https://api.github.com/repos/chukimthang/fbs_01/branches{/branch}","tags_url":"https://api.github.com/repos/chukimthang/fbs_01/tags","blobs_url":"https://api.github.com/repos/chukimthang/fbs_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chukimthang/fbs_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chukimthang/fbs_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/chukimthang/fbs_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chukimthang/fbs_01/statuses/{sha}","languages_url":"https://api.github.com/repos/chukimthang/fbs_01/languages","stargazers_url":"https://api.github.com/repos/chukimthang/fbs_01/stargazers","contributors_url":"https://api.github.com/repos/chukimthang/fbs_01/contributors","subscribers_url":"https://api.github.com/repos/chukimthang/fbs_01/subscribers","subscription_url":"https://api.github.com/repos/chukimthang/fbs_01/subscription","commits_url":"https://api.github.com/repos/chukimthang/fbs_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/chukimthang/fbs_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/chukimthang/fbs_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/chukimthang/fbs_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/chukimthang/fbs_01/contents/{+path}","compare_url":"https://api.github.com/repos/chukimthang/fbs_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chukimthang/fbs_01/merges","archive_url":"https://api.github.com/repos/chukimthang/fbs_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chukimthang/fbs_01/downloads","issues_url":"https://api.github.com/repos/chukimthang/fbs_01/issues{/number}","pulls_url":"https://api.github.com/repos/chukimthang/fbs_01/pulls{/number}","milestones_url":"https://api.github.com/repos/chukimthang/fbs_01/milestones{/number}","notifications_url":"https://api.github.com/repos/chukimthang/fbs_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chukimthang/fbs_01/labels{/name}","releases_url":"https://api.github.com/repos/chukimthang/fbs_01/releases{/id}","deployments_url":"https://api.github.com/repos/chukimthang/fbs_01/deployments","created_at":"2016-12-07T09:07:07Z","updated_at":"2016-12-07T07:26:45Z","pushed_at":"2016-12-13T03:07:04Z","git_url":"git://github.com/chukimthang/fbs_01.git","ssh_url":"git@github.com:chukimthang/fbs_01.git","clone_url":"https://github.com/chukimthang/fbs_01.git","svn_url":"https://github.com/chukimthang/fbs_01","homepage":null,"size":1102,"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":"b0feb709d6e8e1edca8d2291680b976462d99648","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":75810837,"name":"fbs_01","full_name":"framgia/fbs_01","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/fbs_01","description":"Framgia Buy & Sale (training)","fork":false,"url":"https://api.github.com/repos/framgia/fbs_01","forks_url":"https://api.github.com/repos/framgia/fbs_01/forks","keys_url":"https://api.github.com/repos/framgia/fbs_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fbs_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fbs_01/teams","hooks_url":"https://api.github.com/repos/framgia/fbs_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/fbs_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fbs_01/events","assignees_url":"https://api.github.com/repos/framgia/fbs_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fbs_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fbs_01/tags","blobs_url":"https://api.github.com/repos/framgia/fbs_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fbs_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fbs_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fbs_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fbs_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fbs_01/languages","stargazers_url":"https://api.github.com/repos/framgia/fbs_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/fbs_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/fbs_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/fbs_01/subscription","commits_url":"https://api.github.com/repos/framgia/fbs_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fbs_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fbs_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fbs_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fbs_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fbs_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fbs_01/merges","archive_url":"https://api.github.com/repos/framgia/fbs_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fbs_01/downloads","issues_url":"https://api.github.com/repos/framgia/fbs_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fbs_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fbs_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fbs_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fbs_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fbs_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fbs_01/deployments","created_at":"2016-12-07T07:26:45Z","updated_at":"2016-12-08T03:04:30Z","pushed_at":"2016-12-13T03:10:20Z","git_url":"git://github.com/framgia/fbs_01.git","ssh_url":"git@github.com:framgia/fbs_01.git","clone_url":"https://github.com/framgia/fbs_01.git","svn_url":"https://github.com/framgia/fbs_01","homepage":null,"size":1094,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/7"},"html":{"href":"https://github.com/framgia/fbs_01/pull/7"},"issue":{"href":"https://api.github.com/repos/framgia/fbs_01/issues/7"},"comments":{"href":"https://api.github.com/repos/framgia/fbs_01/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fbs_01/statuses/b743a245a6cac9767b35112af712b40842eb45a2"}}}}
{"actor":{"display_login":"HoangThiTuanDung"}}