{"action":"created","issue":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/380","labels_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/380/comments","events_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/380/events","html_url":"https://github.com/jenssegers/laravel-mongodb/pull/380","id":51035541,"number":380,"title":"Added override for creating custom eloquent/model collection","user":{"login":"bbrothers","id":2477338,"avatar_url":"https://avatars.githubusercontent.com/u/2477338?v=3","gravatar_id":"","url":"https://api.github.com/users/bbrothers","html_url":"https://github.com/bbrothers","followers_url":"https://api.github.com/users/bbrothers/followers","following_url":"https://api.github.com/users/bbrothers/following{/other_user}","gists_url":"https://api.github.com/users/bbrothers/gists{/gist_id}","starred_url":"https://api.github.com/users/bbrothers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbrothers/subscriptions","organizations_url":"https://api.github.com/users/bbrothers/orgs","repos_url":"https://api.github.com/users/bbrothers/repos","events_url":"https://api.github.com/users/bbrothers/events{/privacy}","received_events_url":"https://api.github.com/users/bbrothers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-04T22:04:37Z","updated_at":"2015-12-14T11:18:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/380","html_url":"https://github.com/jenssegers/laravel-mongodb/pull/380","diff_url":"https://github.com/jenssegers/laravel-mongodb/pull/380.diff","patch_url":"https://github.com/jenssegers/laravel-mongodb/pull/380.patch"},"body":"Eloquent allows us to override the default Collection class for a given model by implementing a `newCollection` method in the model.\r\n\r\nThis merge request makes a minor change to allow that same functionality but default to an instance of `Jenssegers\\Mongodb\\Collection`."},"comment":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/comments/164412772","html_url":"https://github.com/jenssegers/laravel-mongodb/pull/380#issuecomment-164412772","issue_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/380","id":164412772,"user":{"login":"philipbrown","id":1579059,"avatar_url":"https://avatars.githubusercontent.com/u/1579059?v=3","gravatar_id":"","url":"https://api.github.com/users/philipbrown","html_url":"https://github.com/philipbrown","followers_url":"https://api.github.com/users/philipbrown/followers","following_url":"https://api.github.com/users/philipbrown/following{/other_user}","gists_url":"https://api.github.com/users/philipbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/philipbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipbrown/subscriptions","organizations_url":"https://api.github.com/users/philipbrown/orgs","repos_url":"https://api.github.com/users/philipbrown/repos","events_url":"https://api.github.com/users/philipbrown/events{/privacy}","received_events_url":"https://api.github.com/users/philipbrown/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T11:18:05Z","updated_at":"2015-12-14T11:18:05Z","body":"Hey @jenssegers any reason why you haven't merged this? :relaxed:"}}