{"action":"created","comment":{"url":"https://api.github.com/repos/dolfelt/schedule-api/pulls/comments/34484134","id":34484134,"diff_hunk":"@@ -0,0 +1,19 @@\n+<?php\n+namespace App\\Data\\Transformer;\n+\n+use App\\Data\\Entity\\Login;\n+use App\\Data\\Transformer;\n+\n+class LoginTransformer extends Transformer","path":"src/Data/Transformer/LoginTransformer.php","position":7,"original_position":7,"commit_id":"91df47f0ae97b8726b22b42a4bd0a79a681f501e","original_commit_id":"91df47f0ae97b8726b22b42a4bd0a79a681f501e","user":{"login":"dolfelt","id":202546,"avatar_url":"https://avatars.githubusercontent.com/u/202546?v=3","gravatar_id":"","url":"https://api.github.com/users/dolfelt","html_url":"https://github.com/dolfelt","followers_url":"https://api.github.com/users/dolfelt/followers","following_url":"https://api.github.com/users/dolfelt/following{/other_user}","gists_url":"https://api.github.com/users/dolfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dolfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolfelt/subscriptions","organizations_url":"https://api.github.com/users/dolfelt/orgs","repos_url":"https://api.github.com/users/dolfelt/repos","events_url":"https://api.github.com/users/dolfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dolfelt/received_events","type":"User","site_admin":false},"body":"Nope. I certainly can. This was just very simple. I'm implementing `JsonSerializable` on the classes, which means this is all run automatically when `json_encode` is called. Fractal is nice, but most of the code there is for processing the objects, which `JsonSerializable` takes care of for us.\r\n\r\nAgain, we can certainly change methods if we feel that Fractal works or is easier to handle at larger scale.","created_at":"2015-07-13T16:52:51Z","updated_at":"2015-07-13T16:52:51Z","html_url":"https://github.com/dolfelt/schedule-api/pull/2#discussion_r34484134","pull_request_url":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/dolfelt/schedule-api/pulls/comments/34484134"},"html":{"href":"https://github.com/dolfelt/schedule-api/pull/2#discussion_r34484134"},"pull_request":{"href":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2","id":39830220,"html_url":"https://github.com/dolfelt/schedule-api/pull/2","diff_url":"https://github.com/dolfelt/schedule-api/pull/2.diff","patch_url":"https://github.com/dolfelt/schedule-api/pull/2.patch","issue_url":"https://api.github.com/repos/dolfelt/schedule-api/issues/2","number":2,"state":"open","locked":false,"title":"Beginnings of Authentication","user":{"login":"dolfelt","id":202546,"avatar_url":"https://avatars.githubusercontent.com/u/202546?v=3","gravatar_id":"","url":"https://api.github.com/users/dolfelt","html_url":"https://github.com/dolfelt","followers_url":"https://api.github.com/users/dolfelt/followers","following_url":"https://api.github.com/users/dolfelt/following{/other_user}","gists_url":"https://api.github.com/users/dolfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dolfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolfelt/subscriptions","organizations_url":"https://api.github.com/users/dolfelt/orgs","repos_url":"https://api.github.com/users/dolfelt/repos","events_url":"https://api.github.com/users/dolfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dolfelt/received_events","type":"User","site_admin":false},"body":"Let me know what you guys think.\r\n\r\n@ameech @shadowhand","created_at":"2015-07-13T16:28:40Z","updated_at":"2015-07-13T16:52:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c445b44a3265abeb63c0edcdc139c11380cfb42a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dolfelt/schedule-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dolfelt/schedule-api/issues/2/comments","statuses_url":"https://api.github.com/repos/dolfelt/schedule-api/statuses/91df47f0ae97b8726b22b42a4bd0a79a681f501e","head":{"label":"dolfelt:auth-test","ref":"auth-test","sha":"91df47f0ae97b8726b22b42a4bd0a79a681f501e","user":{"login":"dolfelt","id":202546,"avatar_url":"https://avatars.githubusercontent.com/u/202546?v=3","gravatar_id":"","url":"https://api.github.com/users/dolfelt","html_url":"https://github.com/dolfelt","followers_url":"https://api.github.com/users/dolfelt/followers","following_url":"https://api.github.com/users/dolfelt/following{/other_user}","gists_url":"https://api.github.com/users/dolfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dolfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolfelt/subscriptions","organizations_url":"https://api.github.com/users/dolfelt/orgs","repos_url":"https://api.github.com/users/dolfelt/repos","events_url":"https://api.github.com/users/dolfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dolfelt/received_events","type":"User","site_admin":false},"repo":{"id":36773917,"name":"schedule-api","full_name":"dolfelt/schedule-api","owner":{"login":"dolfelt","id":202546,"avatar_url":"https://avatars.githubusercontent.com/u/202546?v=3","gravatar_id":"","url":"https://api.github.com/users/dolfelt","html_url":"https://github.com/dolfelt","followers_url":"https://api.github.com/users/dolfelt/followers","following_url":"https://api.github.com/users/dolfelt/following{/other_user}","gists_url":"https://api.github.com/users/dolfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dolfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolfelt/subscriptions","organizations_url":"https://api.github.com/users/dolfelt/orgs","repos_url":"https://api.github.com/users/dolfelt/repos","events_url":"https://api.github.com/users/dolfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dolfelt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dolfelt/schedule-api","description":"Playground for scheduling things.","fork":false,"url":"https://api.github.com/repos/dolfelt/schedule-api","forks_url":"https://api.github.com/repos/dolfelt/schedule-api/forks","keys_url":"https://api.github.com/repos/dolfelt/schedule-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dolfelt/schedule-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dolfelt/schedule-api/teams","hooks_url":"https://api.github.com/repos/dolfelt/schedule-api/hooks","issue_events_url":"https://api.github.com/repos/dolfelt/schedule-api/issues/events{/number}","events_url":"https://api.github.com/repos/dolfelt/schedule-api/events","assignees_url":"https://api.github.com/repos/dolfelt/schedule-api/assignees{/user}","branches_url":"https://api.github.com/repos/dolfelt/schedule-api/branches{/branch}","tags_url":"https://api.github.com/repos/dolfelt/schedule-api/tags","blobs_url":"https://api.github.com/repos/dolfelt/schedule-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dolfelt/schedule-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dolfelt/schedule-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/dolfelt/schedule-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dolfelt/schedule-api/statuses/{sha}","languages_url":"https://api.github.com/repos/dolfelt/schedule-api/languages","stargazers_url":"https://api.github.com/repos/dolfelt/schedule-api/stargazers","contributors_url":"https://api.github.com/repos/dolfelt/schedule-api/contributors","subscribers_url":"https://api.github.com/repos/dolfelt/schedule-api/subscribers","subscription_url":"https://api.github.com/repos/dolfelt/schedule-api/subscription","commits_url":"https://api.github.com/repos/dolfelt/schedule-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/dolfelt/schedule-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/dolfelt/schedule-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/dolfelt/schedule-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/dolfelt/schedule-api/contents/{+path}","compare_url":"https://api.github.com/repos/dolfelt/schedule-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dolfelt/schedule-api/merges","archive_url":"https://api.github.com/repos/dolfelt/schedule-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dolfelt/schedule-api/downloads","issues_url":"https://api.github.com/repos/dolfelt/schedule-api/issues{/number}","pulls_url":"https://api.github.com/repos/dolfelt/schedule-api/pulls{/number}","milestones_url":"https://api.github.com/repos/dolfelt/schedule-api/milestones{/number}","notifications_url":"https://api.github.com/repos/dolfelt/schedule-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dolfelt/schedule-api/labels{/name}","releases_url":"https://api.github.com/repos/dolfelt/schedule-api/releases{/id}","created_at":"2015-06-03T02:06:12Z","updated_at":"2015-06-14T21:01:07Z","pushed_at":"2015-07-13T16:28:40Z","git_url":"git://github.com/dolfelt/schedule-api.git","ssh_url":"git@github.com:dolfelt/schedule-api.git","clone_url":"https://github.com/dolfelt/schedule-api.git","svn_url":"https://github.com/dolfelt/schedule-api","homepage":null,"size":124,"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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"dolfelt:master","ref":"master","sha":"8f6b50926560044751b6ee2f7cd985979f28f09a","user":{"login":"dolfelt","id":202546,"avatar_url":"https://avatars.githubusercontent.com/u/202546?v=3","gravatar_id":"","url":"https://api.github.com/users/dolfelt","html_url":"https://github.com/dolfelt","followers_url":"https://api.github.com/users/dolfelt/followers","following_url":"https://api.github.com/users/dolfelt/following{/other_user}","gists_url":"https://api.github.com/users/dolfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dolfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolfelt/subscriptions","organizations_url":"https://api.github.com/users/dolfelt/orgs","repos_url":"https://api.github.com/users/dolfelt/repos","events_url":"https://api.github.com/users/dolfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dolfelt/received_events","type":"User","site_admin":false},"repo":{"id":36773917,"name":"schedule-api","full_name":"dolfelt/schedule-api","owner":{"login":"dolfelt","id":202546,"avatar_url":"https://avatars.githubusercontent.com/u/202546?v=3","gravatar_id":"","url":"https://api.github.com/users/dolfelt","html_url":"https://github.com/dolfelt","followers_url":"https://api.github.com/users/dolfelt/followers","following_url":"https://api.github.com/users/dolfelt/following{/other_user}","gists_url":"https://api.github.com/users/dolfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dolfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolfelt/subscriptions","organizations_url":"https://api.github.com/users/dolfelt/orgs","repos_url":"https://api.github.com/users/dolfelt/repos","events_url":"https://api.github.com/users/dolfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dolfelt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dolfelt/schedule-api","description":"Playground for scheduling things.","fork":false,"url":"https://api.github.com/repos/dolfelt/schedule-api","forks_url":"https://api.github.com/repos/dolfelt/schedule-api/forks","keys_url":"https://api.github.com/repos/dolfelt/schedule-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dolfelt/schedule-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dolfelt/schedule-api/teams","hooks_url":"https://api.github.com/repos/dolfelt/schedule-api/hooks","issue_events_url":"https://api.github.com/repos/dolfelt/schedule-api/issues/events{/number}","events_url":"https://api.github.com/repos/dolfelt/schedule-api/events","assignees_url":"https://api.github.com/repos/dolfelt/schedule-api/assignees{/user}","branches_url":"https://api.github.com/repos/dolfelt/schedule-api/branches{/branch}","tags_url":"https://api.github.com/repos/dolfelt/schedule-api/tags","blobs_url":"https://api.github.com/repos/dolfelt/schedule-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dolfelt/schedule-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dolfelt/schedule-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/dolfelt/schedule-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dolfelt/schedule-api/statuses/{sha}","languages_url":"https://api.github.com/repos/dolfelt/schedule-api/languages","stargazers_url":"https://api.github.com/repos/dolfelt/schedule-api/stargazers","contributors_url":"https://api.github.com/repos/dolfelt/schedule-api/contributors","subscribers_url":"https://api.github.com/repos/dolfelt/schedule-api/subscribers","subscription_url":"https://api.github.com/repos/dolfelt/schedule-api/subscription","commits_url":"https://api.github.com/repos/dolfelt/schedule-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/dolfelt/schedule-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/dolfelt/schedule-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/dolfelt/schedule-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/dolfelt/schedule-api/contents/{+path}","compare_url":"https://api.github.com/repos/dolfelt/schedule-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dolfelt/schedule-api/merges","archive_url":"https://api.github.com/repos/dolfelt/schedule-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dolfelt/schedule-api/downloads","issues_url":"https://api.github.com/repos/dolfelt/schedule-api/issues{/number}","pulls_url":"https://api.github.com/repos/dolfelt/schedule-api/pulls{/number}","milestones_url":"https://api.github.com/repos/dolfelt/schedule-api/milestones{/number}","notifications_url":"https://api.github.com/repos/dolfelt/schedule-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dolfelt/schedule-api/labels{/name}","releases_url":"https://api.github.com/repos/dolfelt/schedule-api/releases{/id}","created_at":"2015-06-03T02:06:12Z","updated_at":"2015-06-14T21:01:07Z","pushed_at":"2015-07-13T16:28:40Z","git_url":"git://github.com/dolfelt/schedule-api.git","ssh_url":"git@github.com:dolfelt/schedule-api.git","clone_url":"https://github.com/dolfelt/schedule-api.git","svn_url":"https://github.com/dolfelt/schedule-api","homepage":null,"size":124,"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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2"},"html":{"href":"https://github.com/dolfelt/schedule-api/pull/2"},"issue":{"href":"https://api.github.com/repos/dolfelt/schedule-api/issues/2"},"comments":{"href":"https://api.github.com/repos/dolfelt/schedule-api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dolfelt/schedule-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dolfelt/schedule-api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dolfelt/schedule-api/statuses/91df47f0ae97b8726b22b42a4bd0a79a681f501e"}}}}