{"action":"created","comment":{"url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments/55582682","id":55582682,"diff_hunk":"@@ -19,11 +20,14 @@ class SemesterTransformer extends TransformerAbstract\n      */\n     public function transform(Semester $semester)\n     {\n+        $repository = app(SemesterRepository::class);","path":"app/Transformers/SemesterTransformer.php","position":12,"original_position":12,"commit_id":"e2afccad9e2bf8e6c92bda97a682272c88608a39","original_commit_id":"e2afccad9e2bf8e6c92bda97a682272c88608a39","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"body":"\n\nYeah it's not ideal, but no one says you can't do that. It's just helping me get the data. If you have a better way, I'll happily change it.\n\n\nSent from Outlook Mobile\n\n\n\n\n\n\nOn Wed, Mar 9, 2016 at 10:36 AM -0800, \"tenorz007\" <notifications@github.com> wrote:\n\n\n\n\n\n> @@ -19,11 +20,14 @@ class SemesterTransformer extends TransformerAbstract\n>       */\n>      public function transform(Semester $semester)\n>      {\n> +        $repository = app(SemesterRepository::class);\n\nYou can't do this in a transformer\n\n---\nReply to this email directly or view it on GitHub:\nhttps://github.com/BrainMaestro/FCE/pull/80/files#r55565659\n","created_at":"2016-03-09T20:22:34Z","updated_at":"2016-03-09T20:22:34Z","html_url":"https://github.com/BrainMaestro/FCE/pull/80#discussion_r55582682","pull_request_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments/55582682"},"html":{"href":"https://github.com/BrainMaestro/FCE/pull/80#discussion_r55582682"},"pull_request":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80","id":62220396,"html_url":"https://github.com/BrainMaestro/FCE/pull/80","diff_url":"https://github.com/BrainMaestro/FCE/pull/80.diff","patch_url":"https://github.com/BrainMaestro/FCE/pull/80.patch","issue_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/80","number":80,"state":"open","locked":false,"title":"Add semester controller","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"body":"Part of #62 ","created_at":"2016-03-09T12:19:24Z","updated_at":"2016-03-09T20:22:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b580e56916519279daef40b993ee2da089d13b89","assignee":{"login":"SkaeX","id":9969952,"avatar_url":"https://avatars.githubusercontent.com/u/9969952?v=3","gravatar_id":"","url":"https://api.github.com/users/SkaeX","html_url":"https://github.com/SkaeX","followers_url":"https://api.github.com/users/SkaeX/followers","following_url":"https://api.github.com/users/SkaeX/following{/other_user}","gists_url":"https://api.github.com/users/SkaeX/gists{/gist_id}","starred_url":"https://api.github.com/users/SkaeX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkaeX/subscriptions","organizations_url":"https://api.github.com/users/SkaeX/orgs","repos_url":"https://api.github.com/users/SkaeX/repos","events_url":"https://api.github.com/users/SkaeX/events{/privacy}","received_events_url":"https://api.github.com/users/SkaeX/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80/commits","review_comments_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80/comments","review_comment_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/80/comments","statuses_url":"https://api.github.com/repos/BrainMaestro/FCE/statuses/e2afccad9e2bf8e6c92bda97a682272c88608a39","head":{"label":"BrainMaestro:feature/add-semester-controller","ref":"feature/add-semester-controller","sha":"e2afccad9e2bf8e6c92bda97a682272c88608a39","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"repo":{"id":25135102,"name":"FCE","full_name":"BrainMaestro/FCE","owner":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrainMaestro/FCE","description":"Faculty Evaluation System (AUN)","fork":false,"url":"https://api.github.com/repos/BrainMaestro/FCE","forks_url":"https://api.github.com/repos/BrainMaestro/FCE/forks","keys_url":"https://api.github.com/repos/BrainMaestro/FCE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrainMaestro/FCE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrainMaestro/FCE/teams","hooks_url":"https://api.github.com/repos/BrainMaestro/FCE/hooks","issue_events_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/events{/number}","events_url":"https://api.github.com/repos/BrainMaestro/FCE/events","assignees_url":"https://api.github.com/repos/BrainMaestro/FCE/assignees{/user}","branches_url":"https://api.github.com/repos/BrainMaestro/FCE/branches{/branch}","tags_url":"https://api.github.com/repos/BrainMaestro/FCE/tags","blobs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrainMaestro/FCE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrainMaestro/FCE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrainMaestro/FCE/statuses/{sha}","languages_url":"https://api.github.com/repos/BrainMaestro/FCE/languages","stargazers_url":"https://api.github.com/repos/BrainMaestro/FCE/stargazers","contributors_url":"https://api.github.com/repos/BrainMaestro/FCE/contributors","subscribers_url":"https://api.github.com/repos/BrainMaestro/FCE/subscribers","subscription_url":"https://api.github.com/repos/BrainMaestro/FCE/subscription","commits_url":"https://api.github.com/repos/BrainMaestro/FCE/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrainMaestro/FCE/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrainMaestro/FCE/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrainMaestro/FCE/contents/{+path}","compare_url":"https://api.github.com/repos/BrainMaestro/FCE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrainMaestro/FCE/merges","archive_url":"https://api.github.com/repos/BrainMaestro/FCE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrainMaestro/FCE/downloads","issues_url":"https://api.github.com/repos/BrainMaestro/FCE/issues{/number}","pulls_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls{/number}","milestones_url":"https://api.github.com/repos/BrainMaestro/FCE/milestones{/number}","notifications_url":"https://api.github.com/repos/BrainMaestro/FCE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrainMaestro/FCE/labels{/name}","releases_url":"https://api.github.com/repos/BrainMaestro/FCE/releases{/id}","deployments_url":"https://api.github.com/repos/BrainMaestro/FCE/deployments","created_at":"2014-10-12T23:23:08Z","updated_at":"2016-01-20T11:58:33Z","pushed_at":"2016-03-09T13:49:41Z","git_url":"git://github.com/BrainMaestro/FCE.git","ssh_url":"git@github.com:BrainMaestro/FCE.git","clone_url":"https://github.com/BrainMaestro/FCE.git","svn_url":"https://github.com/BrainMaestro/FCE","homepage":null,"size":6383,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"develop"}},"base":{"label":"BrainMaestro:feature/implement-controllers","ref":"feature/implement-controllers","sha":"478e916d6e8de46c993b0f8a5b5b9ac25933dcf0","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"repo":{"id":25135102,"name":"FCE","full_name":"BrainMaestro/FCE","owner":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrainMaestro/FCE","description":"Faculty Evaluation System (AUN)","fork":false,"url":"https://api.github.com/repos/BrainMaestro/FCE","forks_url":"https://api.github.com/repos/BrainMaestro/FCE/forks","keys_url":"https://api.github.com/repos/BrainMaestro/FCE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrainMaestro/FCE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrainMaestro/FCE/teams","hooks_url":"https://api.github.com/repos/BrainMaestro/FCE/hooks","issue_events_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/events{/number}","events_url":"https://api.github.com/repos/BrainMaestro/FCE/events","assignees_url":"https://api.github.com/repos/BrainMaestro/FCE/assignees{/user}","branches_url":"https://api.github.com/repos/BrainMaestro/FCE/branches{/branch}","tags_url":"https://api.github.com/repos/BrainMaestro/FCE/tags","blobs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrainMaestro/FCE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrainMaestro/FCE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrainMaestro/FCE/statuses/{sha}","languages_url":"https://api.github.com/repos/BrainMaestro/FCE/languages","stargazers_url":"https://api.github.com/repos/BrainMaestro/FCE/stargazers","contributors_url":"https://api.github.com/repos/BrainMaestro/FCE/contributors","subscribers_url":"https://api.github.com/repos/BrainMaestro/FCE/subscribers","subscription_url":"https://api.github.com/repos/BrainMaestro/FCE/subscription","commits_url":"https://api.github.com/repos/BrainMaestro/FCE/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrainMaestro/FCE/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrainMaestro/FCE/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrainMaestro/FCE/contents/{+path}","compare_url":"https://api.github.com/repos/BrainMaestro/FCE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrainMaestro/FCE/merges","archive_url":"https://api.github.com/repos/BrainMaestro/FCE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrainMaestro/FCE/downloads","issues_url":"https://api.github.com/repos/BrainMaestro/FCE/issues{/number}","pulls_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls{/number}","milestones_url":"https://api.github.com/repos/BrainMaestro/FCE/milestones{/number}","notifications_url":"https://api.github.com/repos/BrainMaestro/FCE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrainMaestro/FCE/labels{/name}","releases_url":"https://api.github.com/repos/BrainMaestro/FCE/releases{/id}","deployments_url":"https://api.github.com/repos/BrainMaestro/FCE/deployments","created_at":"2014-10-12T23:23:08Z","updated_at":"2016-01-20T11:58:33Z","pushed_at":"2016-03-09T13:49:41Z","git_url":"git://github.com/BrainMaestro/FCE.git","ssh_url":"git@github.com:BrainMaestro/FCE.git","clone_url":"https://github.com/BrainMaestro/FCE.git","svn_url":"https://github.com/BrainMaestro/FCE","homepage":null,"size":6383,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80"},"html":{"href":"https://github.com/BrainMaestro/FCE/pull/80"},"issue":{"href":"https://api.github.com/repos/BrainMaestro/FCE/issues/80"},"comments":{"href":"https://api.github.com/repos/BrainMaestro/FCE/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/BrainMaestro/FCE/statuses/e2afccad9e2bf8e6c92bda97a682272c88608a39"}}}}