{"action":"created","comment":{"url":"https://api.github.com/repos/mpscholten/request-parser/pulls/comments/71066061","id":71066061,"diff_hunk":"@@ -0,0 +1,53 @@\n+<?php\n+\n+namespace MPScholten\\RequestParser\\Psr7;\n+\n+use MPScholten\\RequestParser\\RequestParser;\n+use MPScholten\\RequestParser\\TypeParser;\n+use Psr\\Http\\Message\\ServerRequestInterface;\n+\n+trait ControllerHelperTrait","path":"src/Psr7/ControllerHelperTrait.php","position":9,"original_position":9,"commit_id":"4e0d542608eddaced28a8a77db9ea3c31882628d","original_commit_id":"4e0d542608eddaced28a8a77db9ea3c31882628d","user":{"login":"yuvalherziger","id":5735586,"avatar_url":"https://avatars.githubusercontent.com/u/5735586?v=3","gravatar_id":"","url":"https://api.github.com/users/yuvalherziger","html_url":"https://github.com/yuvalherziger","followers_url":"https://api.github.com/users/yuvalherziger/followers","following_url":"https://api.github.com/users/yuvalherziger/following{/other_user}","gists_url":"https://api.github.com/users/yuvalherziger/gists{/gist_id}","starred_url":"https://api.github.com/users/yuvalherziger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuvalherziger/subscriptions","organizations_url":"https://api.github.com/users/yuvalherziger/orgs","repos_url":"https://api.github.com/users/yuvalherziger/repos","events_url":"https://api.github.com/users/yuvalherziger/events{/privacy}","received_events_url":"https://api.github.com/users/yuvalherziger/received_events","type":"User","site_admin":false},"body":"I like this approach a lot 👍 ","created_at":"2016-07-16T13:34:06Z","updated_at":"2016-07-16T13:34:06Z","html_url":"https://github.com/mpscholten/request-parser/pull/12#discussion_r71066061","pull_request_url":"https://api.github.com/repos/mpscholten/request-parser/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/mpscholten/request-parser/pulls/comments/71066061"},"html":{"href":"https://github.com/mpscholten/request-parser/pull/12#discussion_r71066061"},"pull_request":{"href":"https://api.github.com/repos/mpscholten/request-parser/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/mpscholten/request-parser/pulls/12","id":77607650,"html_url":"https://github.com/mpscholten/request-parser/pull/12","diff_url":"https://github.com/mpscholten/request-parser/pull/12.diff","patch_url":"https://github.com/mpscholten/request-parser/pull/12.patch","issue_url":"https://api.github.com/repos/mpscholten/request-parser/issues/12","number":12,"state":"open","locked":false,"title":"Added Psr7 integration","user":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"body":"This pr adds first-class Psr7 support to the library (cc #11). It includes documentation and an Psr7 example.\r\n\r\n@yuvalherziger could you take a look at the code and the documentation? :) Maybe you can also try out the psr7 example.\r\n\r\nTodos:\r\n - [ ] Add unit tests\r\n - [ ] Rebase into a single commit","created_at":"2016-07-15T12:26:30Z","updated_at":"2016-07-16T13:34:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9525e95333cb512d9ccd33ce3c48851ab862539","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mpscholten/request-parser/pulls/12/commits","review_comments_url":"https://api.github.com/repos/mpscholten/request-parser/pulls/12/comments","review_comment_url":"https://api.github.com/repos/mpscholten/request-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mpscholten/request-parser/issues/12/comments","statuses_url":"https://api.github.com/repos/mpscholten/request-parser/statuses/4e0d542608eddaced28a8a77db9ea3c31882628d","head":{"label":"mpscholten:psr7","ref":"psr7","sha":"4e0d542608eddaced28a8a77db9ea3c31882628d","user":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"repo":{"id":61488582,"name":"request-parser","full_name":"mpscholten/request-parser","owner":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpscholten/request-parser","description":"Small PHP Library for type-safe input handling","fork":false,"url":"https://api.github.com/repos/mpscholten/request-parser","forks_url":"https://api.github.com/repos/mpscholten/request-parser/forks","keys_url":"https://api.github.com/repos/mpscholten/request-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpscholten/request-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpscholten/request-parser/teams","hooks_url":"https://api.github.com/repos/mpscholten/request-parser/hooks","issue_events_url":"https://api.github.com/repos/mpscholten/request-parser/issues/events{/number}","events_url":"https://api.github.com/repos/mpscholten/request-parser/events","assignees_url":"https://api.github.com/repos/mpscholten/request-parser/assignees{/user}","branches_url":"https://api.github.com/repos/mpscholten/request-parser/branches{/branch}","tags_url":"https://api.github.com/repos/mpscholten/request-parser/tags","blobs_url":"https://api.github.com/repos/mpscholten/request-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpscholten/request-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpscholten/request-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpscholten/request-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpscholten/request-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/mpscholten/request-parser/languages","stargazers_url":"https://api.github.com/repos/mpscholten/request-parser/stargazers","contributors_url":"https://api.github.com/repos/mpscholten/request-parser/contributors","subscribers_url":"https://api.github.com/repos/mpscholten/request-parser/subscribers","subscription_url":"https://api.github.com/repos/mpscholten/request-parser/subscription","commits_url":"https://api.github.com/repos/mpscholten/request-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpscholten/request-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpscholten/request-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpscholten/request-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpscholten/request-parser/contents/{+path}","compare_url":"https://api.github.com/repos/mpscholten/request-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpscholten/request-parser/merges","archive_url":"https://api.github.com/repos/mpscholten/request-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpscholten/request-parser/downloads","issues_url":"https://api.github.com/repos/mpscholten/request-parser/issues{/number}","pulls_url":"https://api.github.com/repos/mpscholten/request-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/mpscholten/request-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/mpscholten/request-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpscholten/request-parser/labels{/name}","releases_url":"https://api.github.com/repos/mpscholten/request-parser/releases{/id}","deployments_url":"https://api.github.com/repos/mpscholten/request-parser/deployments","created_at":"2016-06-19T16:10:51Z","updated_at":"2016-07-12T08:21:12Z","pushed_at":"2016-07-15T12:29:35Z","git_url":"git://github.com/mpscholten/request-parser.git","ssh_url":"git@github.com:mpscholten/request-parser.git","clone_url":"https://github.com/mpscholten/request-parser.git","svn_url":"https://github.com/mpscholten/request-parser","homepage":"","size":98,"stargazers_count":33,"watchers_count":33,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":33,"default_branch":"master"}},"base":{"label":"mpscholten:master","ref":"master","sha":"6a433766656fa387b3a1a62588a8325211a7d86b","user":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"repo":{"id":61488582,"name":"request-parser","full_name":"mpscholten/request-parser","owner":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpscholten/request-parser","description":"Small PHP Library for type-safe input handling","fork":false,"url":"https://api.github.com/repos/mpscholten/request-parser","forks_url":"https://api.github.com/repos/mpscholten/request-parser/forks","keys_url":"https://api.github.com/repos/mpscholten/request-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpscholten/request-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpscholten/request-parser/teams","hooks_url":"https://api.github.com/repos/mpscholten/request-parser/hooks","issue_events_url":"https://api.github.com/repos/mpscholten/request-parser/issues/events{/number}","events_url":"https://api.github.com/repos/mpscholten/request-parser/events","assignees_url":"https://api.github.com/repos/mpscholten/request-parser/assignees{/user}","branches_url":"https://api.github.com/repos/mpscholten/request-parser/branches{/branch}","tags_url":"https://api.github.com/repos/mpscholten/request-parser/tags","blobs_url":"https://api.github.com/repos/mpscholten/request-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpscholten/request-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpscholten/request-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpscholten/request-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpscholten/request-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/mpscholten/request-parser/languages","stargazers_url":"https://api.github.com/repos/mpscholten/request-parser/stargazers","contributors_url":"https://api.github.com/repos/mpscholten/request-parser/contributors","subscribers_url":"https://api.github.com/repos/mpscholten/request-parser/subscribers","subscription_url":"https://api.github.com/repos/mpscholten/request-parser/subscription","commits_url":"https://api.github.com/repos/mpscholten/request-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpscholten/request-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpscholten/request-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpscholten/request-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpscholten/request-parser/contents/{+path}","compare_url":"https://api.github.com/repos/mpscholten/request-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpscholten/request-parser/merges","archive_url":"https://api.github.com/repos/mpscholten/request-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpscholten/request-parser/downloads","issues_url":"https://api.github.com/repos/mpscholten/request-parser/issues{/number}","pulls_url":"https://api.github.com/repos/mpscholten/request-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/mpscholten/request-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/mpscholten/request-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpscholten/request-parser/labels{/name}","releases_url":"https://api.github.com/repos/mpscholten/request-parser/releases{/id}","deployments_url":"https://api.github.com/repos/mpscholten/request-parser/deployments","created_at":"2016-06-19T16:10:51Z","updated_at":"2016-07-12T08:21:12Z","pushed_at":"2016-07-15T12:29:35Z","git_url":"git://github.com/mpscholten/request-parser.git","ssh_url":"git@github.com:mpscholten/request-parser.git","clone_url":"https://github.com/mpscholten/request-parser.git","svn_url":"https://github.com/mpscholten/request-parser","homepage":"","size":98,"stargazers_count":33,"watchers_count":33,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mpscholten/request-parser/pulls/12"},"html":{"href":"https://github.com/mpscholten/request-parser/pull/12"},"issue":{"href":"https://api.github.com/repos/mpscholten/request-parser/issues/12"},"comments":{"href":"https://api.github.com/repos/mpscholten/request-parser/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/mpscholten/request-parser/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/mpscholten/request-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mpscholten/request-parser/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/mpscholten/request-parser/statuses/4e0d542608eddaced28a8a77db9ea3c31882628d"}}}}
{"actor":{"display_login":"yuvalherziger"}}