{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ffn_05/pulls/comments/76355711","id":76355711,"diff_hunk":"@@ -0,0 +1,57 @@\n+<?php\n+\n+namespace App\\Repositories;\n+\n+use App\\Models\\User;\n+use App\\Repositories\\EloquentRepository;\n+\n+class UserRepository extends EloquentRepository\n+{\n+    public function __construct(User $user)\n+    {\n+        parent::__construct($user);\n+    }\n+\n+    public function create($request, $confirmationCode)\n+    {\n+        $user = [\n+            'email' => $request->email,\n+            'name' => $request->name,\n+            'password' => $request->password,\n+            'confirmed' => config('common.user.confirmed.not_confirm'),\n+            'confirmation_code' => $confirmationCode,\n+        ];\n+\n+        $createUser = $this->model->create($user);","path":"app/Repositories/UserRepository.php","position":25,"original_position":25,"commit_id":"ca7f1563edd326dfab5c98910d3c5054453b41d7","original_commit_id":"ca7f1563edd326dfab5c98910d3c5054453b41d7","user":{"login":"KhanhLD","id":2461430,"avatar_url":"https://avatars.githubusercontent.com/u/2461430?v=3","gravatar_id":"","url":"https://api.github.com/users/KhanhLD","html_url":"https://github.com/KhanhLD","followers_url":"https://api.github.com/users/KhanhLD/followers","following_url":"https://api.github.com/users/KhanhLD/following{/other_user}","gists_url":"https://api.github.com/users/KhanhLD/gists{/gist_id}","starred_url":"https://api.github.com/users/KhanhLD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhanhLD/subscriptions","organizations_url":"https://api.github.com/users/KhanhLD/orgs","repos_url":"https://api.github.com/users/KhanhLD/repos","events_url":"https://api.github.com/users/KhanhLD/events{/privacy}","received_events_url":"https://api.github.com/users/KhanhLD/received_events","type":"User","site_admin":false},"body":"không gọi create trên model, sử dụng repository ","created_at":"2016-08-26T02:22:29Z","updated_at":"2016-08-26T02:22:29Z","html_url":"https://github.com/framgia/ffn_05/pull/9#discussion_r76355711","pull_request_url":"https://api.github.com/repos/framgia/ffn_05/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/comments/76355711"},"html":{"href":"https://github.com/framgia/ffn_05/pull/9#discussion_r76355711"},"pull_request":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ffn_05/pulls/9","id":82586519,"html_url":"https://github.com/framgia/ffn_05/pull/9","diff_url":"https://github.com/framgia/ffn_05/pull/9.diff","patch_url":"https://github.com/framgia/ffn_05/pull/9.patch","issue_url":"https://api.github.com/repos/framgia/ffn_05/issues/9","number":9,"state":"open","locked":false,"title":"Send mail","user":{"login":"hientt28","id":20433054,"avatar_url":"https://avatars.githubusercontent.com/u/20433054?v=3","gravatar_id":"","url":"https://api.github.com/users/hientt28","html_url":"https://github.com/hientt28","followers_url":"https://api.github.com/users/hientt28/followers","following_url":"https://api.github.com/users/hientt28/following{/other_user}","gists_url":"https://api.github.com/users/hientt28/gists{/gist_id}","starred_url":"https://api.github.com/users/hientt28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hientt28/subscriptions","organizations_url":"https://api.github.com/users/hientt28/orgs","repos_url":"https://api.github.com/users/hientt28/repos","events_url":"https://api.github.com/users/hientt28/events{/privacy}","received_events_url":"https://api.github.com/users/hientt28/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-24T17:44:22Z","updated_at":"2016-08-26T02:22:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3eda87cfbe318992917285d96671f2e114ce6ba1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ffn_05/pulls/9/commits","review_comments_url":"https://api.github.com/repos/framgia/ffn_05/pulls/9/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/9/comments","statuses_url":"https://api.github.com/repos/framgia/ffn_05/statuses/ca7f1563edd326dfab5c98910d3c5054453b41d7","head":{"label":"hientt28:SendMail","ref":"SendMail","sha":"ca7f1563edd326dfab5c98910d3c5054453b41d7","user":{"login":"hientt28","id":20433054,"avatar_url":"https://avatars.githubusercontent.com/u/20433054?v=3","gravatar_id":"","url":"https://api.github.com/users/hientt28","html_url":"https://github.com/hientt28","followers_url":"https://api.github.com/users/hientt28/followers","following_url":"https://api.github.com/users/hientt28/following{/other_user}","gists_url":"https://api.github.com/users/hientt28/gists{/gist_id}","starred_url":"https://api.github.com/users/hientt28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hientt28/subscriptions","organizations_url":"https://api.github.com/users/hientt28/orgs","repos_url":"https://api.github.com/users/hientt28/repos","events_url":"https://api.github.com/users/hientt28/events{/privacy}","received_events_url":"https://api.github.com/users/hientt28/received_events","type":"User","site_admin":false},"repo":{"id":65958973,"name":"ffn_05","full_name":"hientt28/ffn_05","owner":{"login":"hientt28","id":20433054,"avatar_url":"https://avatars.githubusercontent.com/u/20433054?v=3","gravatar_id":"","url":"https://api.github.com/users/hientt28","html_url":"https://github.com/hientt28","followers_url":"https://api.github.com/users/hientt28/followers","following_url":"https://api.github.com/users/hientt28/following{/other_user}","gists_url":"https://api.github.com/users/hientt28/gists{/gist_id}","starred_url":"https://api.github.com/users/hientt28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hientt28/subscriptions","organizations_url":"https://api.github.com/users/hientt28/orgs","repos_url":"https://api.github.com/users/hientt28/repos","events_url":"https://api.github.com/users/hientt28/events{/privacy}","received_events_url":"https://api.github.com/users/hientt28/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hientt28/ffn_05","description":"Framgia Football News (training)","fork":true,"url":"https://api.github.com/repos/hientt28/ffn_05","forks_url":"https://api.github.com/repos/hientt28/ffn_05/forks","keys_url":"https://api.github.com/repos/hientt28/ffn_05/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hientt28/ffn_05/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hientt28/ffn_05/teams","hooks_url":"https://api.github.com/repos/hientt28/ffn_05/hooks","issue_events_url":"https://api.github.com/repos/hientt28/ffn_05/issues/events{/number}","events_url":"https://api.github.com/repos/hientt28/ffn_05/events","assignees_url":"https://api.github.com/repos/hientt28/ffn_05/assignees{/user}","branches_url":"https://api.github.com/repos/hientt28/ffn_05/branches{/branch}","tags_url":"https://api.github.com/repos/hientt28/ffn_05/tags","blobs_url":"https://api.github.com/repos/hientt28/ffn_05/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hientt28/ffn_05/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hientt28/ffn_05/git/refs{/sha}","trees_url":"https://api.github.com/repos/hientt28/ffn_05/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hientt28/ffn_05/statuses/{sha}","languages_url":"https://api.github.com/repos/hientt28/ffn_05/languages","stargazers_url":"https://api.github.com/repos/hientt28/ffn_05/stargazers","contributors_url":"https://api.github.com/repos/hientt28/ffn_05/contributors","subscribers_url":"https://api.github.com/repos/hientt28/ffn_05/subscribers","subscription_url":"https://api.github.com/repos/hientt28/ffn_05/subscription","commits_url":"https://api.github.com/repos/hientt28/ffn_05/commits{/sha}","git_commits_url":"https://api.github.com/repos/hientt28/ffn_05/git/commits{/sha}","comments_url":"https://api.github.com/repos/hientt28/ffn_05/comments{/number}","issue_comment_url":"https://api.github.com/repos/hientt28/ffn_05/issues/comments{/number}","contents_url":"https://api.github.com/repos/hientt28/ffn_05/contents/{+path}","compare_url":"https://api.github.com/repos/hientt28/ffn_05/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hientt28/ffn_05/merges","archive_url":"https://api.github.com/repos/hientt28/ffn_05/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hientt28/ffn_05/downloads","issues_url":"https://api.github.com/repos/hientt28/ffn_05/issues{/number}","pulls_url":"https://api.github.com/repos/hientt28/ffn_05/pulls{/number}","milestones_url":"https://api.github.com/repos/hientt28/ffn_05/milestones{/number}","notifications_url":"https://api.github.com/repos/hientt28/ffn_05/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hientt28/ffn_05/labels{/name}","releases_url":"https://api.github.com/repos/hientt28/ffn_05/releases{/id}","deployments_url":"https://api.github.com/repos/hientt28/ffn_05/deployments","created_at":"2016-08-18T02:36:59Z","updated_at":"2016-08-18T01:40:48Z","pushed_at":"2016-08-26T02:20:56Z","git_url":"git://github.com/hientt28/ffn_05.git","ssh_url":"git@github.com:hientt28/ffn_05.git","clone_url":"https://github.com/hientt28/ffn_05.git","svn_url":"https://github.com/hientt28/ffn_05","homepage":null,"size":83,"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":"c512b75adc0ca830ba6de4e923420ab9a706207d","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-26T02:20:57Z","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":1231,"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":6,"forks":4,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/9"},"html":{"href":"https://github.com/framgia/ffn_05/pull/9"},"issue":{"href":"https://api.github.com/repos/framgia/ffn_05/issues/9"},"comments":{"href":"https://api.github.com/repos/framgia/ffn_05/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ffn_05/pulls/9/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/9/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ffn_05/statuses/ca7f1563edd326dfab5c98910d3c5054453b41d7"}}}}
{"actor":{"display_login":"KhanhLD"}}