{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim-Http/issues/1","labels_url":"https://api.github.com/repos/slimphp/Slim-Http/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim-Http/issues/1/comments","events_url":"https://api.github.com/repos/slimphp/Slim-Http/issues/1/events","html_url":"https://github.com/slimphp/Slim-Http/issues/1","id":123749957,"number":1,"title":"Factories","user":{"login":"geggleto","id":4027602,"avatar_url":"https://avatars.githubusercontent.com/u/4027602?v=3","gravatar_id":"","url":"https://api.github.com/users/geggleto","html_url":"https://github.com/geggleto","followers_url":"https://api.github.com/users/geggleto/followers","following_url":"https://api.github.com/users/geggleto/following{/other_user}","gists_url":"https://api.github.com/users/geggleto/gists{/gist_id}","starred_url":"https://api.github.com/users/geggleto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geggleto/subscriptions","organizations_url":"https://api.github.com/users/geggleto/orgs","repos_url":"https://api.github.com/users/geggleto/repos","events_url":"https://api.github.com/users/geggleto/events{/privacy}","received_events_url":"https://api.github.com/users/geggleto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-24T02:41:46Z","updated_at":"2015-12-24T19:23:05Z","closed_at":null,"body":"I would love to see proper Factories.\r\n\r\nWill PR @akrabat  ;)"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim-Http/issues/comments/167151332","html_url":"https://github.com/slimphp/Slim-Http/issues/1#issuecomment-167151332","issue_url":"https://api.github.com/repos/slimphp/Slim-Http/issues/1","id":167151332,"user":{"login":"codeguy","id":31677,"avatar_url":"https://avatars.githubusercontent.com/u/31677?v=3","gravatar_id":"","url":"https://api.github.com/users/codeguy","html_url":"https://github.com/codeguy","followers_url":"https://api.github.com/users/codeguy/followers","following_url":"https://api.github.com/users/codeguy/following{/other_user}","gists_url":"https://api.github.com/users/codeguy/gists{/gist_id}","starred_url":"https://api.github.com/users/codeguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeguy/subscriptions","organizations_url":"https://api.github.com/users/codeguy/orgs","repos_url":"https://api.github.com/users/codeguy/repos","events_url":"https://api.github.com/users/codeguy/events{/privacy}","received_events_url":"https://api.github.com/users/codeguy/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T19:23:05Z","updated_at":"2015-12-24T19:23:05Z","body":"I'm not entirely sold on the need for separate factory classes... a class can know how to make itself, so why not `Body::createFromText|Stream()`, `Uri::createFromGlobals()`, `Header::createFromGlobals()`, and `Request::createFromGlobals()`? We can always supply a default body (from raw text or a stream resource), and it can easily be overridden with `$request->withBody()`."}}