{"action":"created","issue":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/17","labels_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/17/comments","events_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/17/events","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/17","id":78137588,"number":17,"title":"Question about EloquentUserRepository.php","user":{"login":"andyjessop","id":1304307,"avatar_url":"https://avatars.githubusercontent.com/u/1304307?v=3","gravatar_id":"","url":"https://api.github.com/users/andyjessop","html_url":"https://github.com/andyjessop","followers_url":"https://api.github.com/users/andyjessop/followers","following_url":"https://api.github.com/users/andyjessop/following{/other_user}","gists_url":"https://api.github.com/users/andyjessop/gists{/gist_id}","starred_url":"https://api.github.com/users/andyjessop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyjessop/subscriptions","organizations_url":"https://api.github.com/users/andyjessop/orgs","repos_url":"https://api.github.com/users/andyjessop/repos","events_url":"https://api.github.com/users/andyjessop/events{/privacy}","received_events_url":"https://api.github.com/users/andyjessop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T15:33:57Z","updated_at":"2015-05-19T17:00:42Z","closed_at":"2015-05-19T17:00:42Z","body":"I'm trying to figure out where this code is used - or is it just a helper class that *could* be used in development?"},"comment":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/comments/103591309","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/17#issuecomment-103591309","issue_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/17","id":103591309,"user":{"login":"rappasoft","id":6026504,"avatar_url":"https://avatars.githubusercontent.com/u/6026504?v=3","gravatar_id":"","url":"https://api.github.com/users/rappasoft","html_url":"https://github.com/rappasoft","followers_url":"https://api.github.com/users/rappasoft/followers","following_url":"https://api.github.com/users/rappasoft/following{/other_user}","gists_url":"https://api.github.com/users/rappasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/rappasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rappasoft/subscriptions","organizations_url":"https://api.github.com/users/rappasoft/orgs","repos_url":"https://api.github.com/users/rappasoft/repos","events_url":"https://api.github.com/users/rappasoft/events{/privacy}","received_events_url":"https://api.github.com/users/rappasoft/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T17:00:42Z","updated_at":"2015-05-19T17:00:42Z","body":"It extracts the logic to be eloquent specific, if you had a different database setup, you would create OtherDatabaseRepository.php, and bind it to UserContract, then the application would use that version instead.\r\n\r\nThis is how you can change large parts of applications without editing a thousand files, just one."}}