{"action":"created","issue":{"url":"https://api.github.com/repos/neomerx/json-api/issues/76","labels_url":"https://api.github.com/repos/neomerx/json-api/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/neomerx/json-api/issues/76/comments","events_url":"https://api.github.com/repos/neomerx/json-api/issues/76/events","html_url":"https://github.com/neomerx/json-api/issues/76","id":106233105,"number":76,"title":"Add `getContainer` to EncoderInterface","user":{"login":"lindyhopchris","id":4464333,"avatar_url":"https://avatars.githubusercontent.com/u/4464333?v=3","gravatar_id":"","url":"https://api.github.com/users/lindyhopchris","html_url":"https://github.com/lindyhopchris","followers_url":"https://api.github.com/users/lindyhopchris/followers","following_url":"https://api.github.com/users/lindyhopchris/following{/other_user}","gists_url":"https://api.github.com/users/lindyhopchris/gists{/gist_id}","starred_url":"https://api.github.com/users/lindyhopchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindyhopchris/subscriptions","organizations_url":"https://api.github.com/users/lindyhopchris/orgs","repos_url":"https://api.github.com/users/lindyhopchris/repos","events_url":"https://api.github.com/users/lindyhopchris/events{/privacy}","received_events_url":"https://api.github.com/users/lindyhopchris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-13T18:39:36Z","updated_at":"2015-09-15T10:48:09Z","closed_at":null,"body":"At the moment you can do `getEncoderOptions` but you can't do `getContainer` to get the schemas from an encoder. If your encoder has been created by your service container in your framework, there's no way to get at the schemas to work out the location header for a created response.\r\n\r\nSolution - add `getContainer` to the `EncoderInterface`. Alternative names for the method would be `getSchemasContainer` or `getSchemas`.\r\n\r\nI'm happy to add if you want me to do it. As it's a single commit, could go straight into the develop branch? Or would you want it as a pull request?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/neomerx/json-api/issues/comments/140350894","html_url":"https://github.com/neomerx/json-api/issues/76#issuecomment-140350894","issue_url":"https://api.github.com/repos/neomerx/json-api/issues/76","id":140350894,"user":{"login":"neomerx","id":10420662,"avatar_url":"https://avatars.githubusercontent.com/u/10420662?v=3","gravatar_id":"","url":"https://api.github.com/users/neomerx","html_url":"https://github.com/neomerx","followers_url":"https://api.github.com/users/neomerx/followers","following_url":"https://api.github.com/users/neomerx/following{/other_user}","gists_url":"https://api.github.com/users/neomerx/gists{/gist_id}","starred_url":"https://api.github.com/users/neomerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomerx/subscriptions","organizations_url":"https://api.github.com/users/neomerx/orgs","repos_url":"https://api.github.com/users/neomerx/repos","events_url":"https://api.github.com/users/neomerx/events{/privacy}","received_events_url":"https://api.github.com/users/neomerx/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T10:48:09Z","updated_at":"2015-09-15T10:48:09Z","body":"@lindyhopchris I've got a test error that [occurs only on 5.5](https://travis-ci.org/neomerx/json-api) Have you got an ability to test it on 5.5?"}}