{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_186/pulls/comments/79533512","id":79533512,"diff_hunk":"@@ -23,4 +23,12 @@ class User extends Authenticatable\n     protected $hidden = [\n         'password', 'remember_token',\n     ];\n+    public function followers()\n+    {\n+        return $this->belongsToMany(User::class, 'relationships', 'followed_id', 'follower_id');","path":"app/User.php","position":6,"original_position":6,"commit_id":"2f70d2928852504b3837bce4df5c77558a7aea39","original_commit_id":"2f70d2928852504b3837bce4df5c77558a7aea39","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":"Lúc em dùng `App\\Class` lúc em dùng `Class::class`.\r\nThông nhất 1 kiểu thôi em nhé","created_at":"2016-09-20T04:10:17Z","updated_at":"2016-09-20T04:10:17Z","html_url":"https://github.com/framgia/fels_186/pull/4#discussion_r79533512","pull_request_url":"https://api.github.com/repos/framgia/fels_186/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_186/pulls/comments/79533512"},"html":{"href":"https://github.com/framgia/fels_186/pull/4#discussion_r79533512"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_186/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_186/pulls/4","id":85907226,"html_url":"https://github.com/framgia/fels_186/pull/4","diff_url":"https://github.com/framgia/fels_186/pull/4.diff","patch_url":"https://github.com/framgia/fels_186/pull/4.patch","issue_url":"https://api.github.com/repos/framgia/fels_186/issues/4","number":4,"state":"open","locked":false,"title":"init model + relationship","user":{"login":"quanvhframgia","id":22186721,"avatar_url":"https://avatars.githubusercontent.com/u/22186721?v=3","gravatar_id":"","url":"https://api.github.com/users/quanvhframgia","html_url":"https://github.com/quanvhframgia","followers_url":"https://api.github.com/users/quanvhframgia/followers","following_url":"https://api.github.com/users/quanvhframgia/following{/other_user}","gists_url":"https://api.github.com/users/quanvhframgia/gists{/gist_id}","starred_url":"https://api.github.com/users/quanvhframgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanvhframgia/subscriptions","organizations_url":"https://api.github.com/users/quanvhframgia/orgs","repos_url":"https://api.github.com/users/quanvhframgia/repos","events_url":"https://api.github.com/users/quanvhframgia/events{/privacy}","received_events_url":"https://api.github.com/users/quanvhframgia/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-20T03:55:57Z","updated_at":"2016-09-20T04:10:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"942b4bee79fa221e72a751ef59ec05a82449ad5e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_186/pulls/4/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_186/pulls/4/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_186/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_186/issues/4/comments","statuses_url":"https://api.github.com/repos/framgia/fels_186/statuses/2f70d2928852504b3837bce4df5c77558a7aea39","head":{"label":"quanvhframgia:init_model","ref":"init_model","sha":"2f70d2928852504b3837bce4df5c77558a7aea39","user":{"login":"quanvhframgia","id":22186721,"avatar_url":"https://avatars.githubusercontent.com/u/22186721?v=3","gravatar_id":"","url":"https://api.github.com/users/quanvhframgia","html_url":"https://github.com/quanvhframgia","followers_url":"https://api.github.com/users/quanvhframgia/followers","following_url":"https://api.github.com/users/quanvhframgia/following{/other_user}","gists_url":"https://api.github.com/users/quanvhframgia/gists{/gist_id}","starred_url":"https://api.github.com/users/quanvhframgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanvhframgia/subscriptions","organizations_url":"https://api.github.com/users/quanvhframgia/orgs","repos_url":"https://api.github.com/users/quanvhframgia/repos","events_url":"https://api.github.com/users/quanvhframgia/events{/privacy}","received_events_url":"https://api.github.com/users/quanvhframgia/received_events","type":"User","site_admin":false},"repo":{"id":68587497,"name":"fels_186","full_name":"quanvhframgia/fels_186","owner":{"login":"quanvhframgia","id":22186721,"avatar_url":"https://avatars.githubusercontent.com/u/22186721?v=3","gravatar_id":"","url":"https://api.github.com/users/quanvhframgia","html_url":"https://github.com/quanvhframgia","followers_url":"https://api.github.com/users/quanvhframgia/followers","following_url":"https://api.github.com/users/quanvhframgia/following{/other_user}","gists_url":"https://api.github.com/users/quanvhframgia/gists{/gist_id}","starred_url":"https://api.github.com/users/quanvhframgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanvhframgia/subscriptions","organizations_url":"https://api.github.com/users/quanvhframgia/orgs","repos_url":"https://api.github.com/users/quanvhframgia/repos","events_url":"https://api.github.com/users/quanvhframgia/events{/privacy}","received_events_url":"https://api.github.com/users/quanvhframgia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quanvhframgia/fels_186","description":"Framgia E Learning System (Training)","fork":true,"url":"https://api.github.com/repos/quanvhframgia/fels_186","forks_url":"https://api.github.com/repos/quanvhframgia/fels_186/forks","keys_url":"https://api.github.com/repos/quanvhframgia/fels_186/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quanvhframgia/fels_186/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quanvhframgia/fels_186/teams","hooks_url":"https://api.github.com/repos/quanvhframgia/fels_186/hooks","issue_events_url":"https://api.github.com/repos/quanvhframgia/fels_186/issues/events{/number}","events_url":"https://api.github.com/repos/quanvhframgia/fels_186/events","assignees_url":"https://api.github.com/repos/quanvhframgia/fels_186/assignees{/user}","branches_url":"https://api.github.com/repos/quanvhframgia/fels_186/branches{/branch}","tags_url":"https://api.github.com/repos/quanvhframgia/fels_186/tags","blobs_url":"https://api.github.com/repos/quanvhframgia/fels_186/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quanvhframgia/fels_186/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quanvhframgia/fels_186/git/refs{/sha}","trees_url":"https://api.github.com/repos/quanvhframgia/fels_186/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quanvhframgia/fels_186/statuses/{sha}","languages_url":"https://api.github.com/repos/quanvhframgia/fels_186/languages","stargazers_url":"https://api.github.com/repos/quanvhframgia/fels_186/stargazers","contributors_url":"https://api.github.com/repos/quanvhframgia/fels_186/contributors","subscribers_url":"https://api.github.com/repos/quanvhframgia/fels_186/subscribers","subscription_url":"https://api.github.com/repos/quanvhframgia/fels_186/subscription","commits_url":"https://api.github.com/repos/quanvhframgia/fels_186/commits{/sha}","git_commits_url":"https://api.github.com/repos/quanvhframgia/fels_186/git/commits{/sha}","comments_url":"https://api.github.com/repos/quanvhframgia/fels_186/comments{/number}","issue_comment_url":"https://api.github.com/repos/quanvhframgia/fels_186/issues/comments{/number}","contents_url":"https://api.github.com/repos/quanvhframgia/fels_186/contents/{+path}","compare_url":"https://api.github.com/repos/quanvhframgia/fels_186/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quanvhframgia/fels_186/merges","archive_url":"https://api.github.com/repos/quanvhframgia/fels_186/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quanvhframgia/fels_186/downloads","issues_url":"https://api.github.com/repos/quanvhframgia/fels_186/issues{/number}","pulls_url":"https://api.github.com/repos/quanvhframgia/fels_186/pulls{/number}","milestones_url":"https://api.github.com/repos/quanvhframgia/fels_186/milestones{/number}","notifications_url":"https://api.github.com/repos/quanvhframgia/fels_186/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quanvhframgia/fels_186/labels{/name}","releases_url":"https://api.github.com/repos/quanvhframgia/fels_186/releases{/id}","deployments_url":"https://api.github.com/repos/quanvhframgia/fels_186/deployments","created_at":"2016-09-19T08:54:54Z","updated_at":"2016-09-19T02:00:34Z","pushed_at":"2016-09-20T03:54:24Z","git_url":"git://github.com/quanvhframgia/fels_186.git","ssh_url":"git@github.com:quanvhframgia/fels_186.git","clone_url":"https://github.com/quanvhframgia/fels_186.git","svn_url":"https://github.com/quanvhframgia/fels_186","homepage":null,"size":493,"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":"24bed8d686e8a071afe69bc21834b0061e2964e2","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":68560148,"name":"fels_186","full_name":"framgia/fels_186","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/fels_186","description":"Framgia E Learning System (Training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_186","forks_url":"https://api.github.com/repos/framgia/fels_186/forks","keys_url":"https://api.github.com/repos/framgia/fels_186/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_186/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_186/teams","hooks_url":"https://api.github.com/repos/framgia/fels_186/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_186/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_186/events","assignees_url":"https://api.github.com/repos/framgia/fels_186/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_186/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_186/tags","blobs_url":"https://api.github.com/repos/framgia/fels_186/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_186/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_186/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_186/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_186/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_186/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_186/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_186/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_186/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_186/subscription","commits_url":"https://api.github.com/repos/framgia/fels_186/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_186/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_186/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_186/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_186/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_186/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_186/merges","archive_url":"https://api.github.com/repos/framgia/fels_186/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_186/downloads","issues_url":"https://api.github.com/repos/framgia/fels_186/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_186/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_186/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_186/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_186/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_186/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_186/deployments","created_at":"2016-09-19T02:00:34Z","updated_at":"2016-09-19T09:08:56Z","pushed_at":"2016-09-20T03:55:58Z","git_url":"git://github.com/framgia/fels_186.git","ssh_url":"git@github.com:framgia/fels_186.git","clone_url":"https://github.com/framgia/fels_186.git","svn_url":"https://github.com/framgia/fels_186","homepage":null,"size":494,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_186/pulls/4"},"html":{"href":"https://github.com/framgia/fels_186/pull/4"},"issue":{"href":"https://api.github.com/repos/framgia/fels_186/issues/4"},"comments":{"href":"https://api.github.com/repos/framgia/fels_186/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_186/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_186/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_186/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_186/statuses/2f70d2928852504b3837bce4df5c77558a7aea39"}}}}
{"actor":{"display_login":"huynguyenframgia"}}