jenssegers/laravel-mongodb — pull request #248 by JesseObrien (2014-07-10 14:35:50+00:00)
Title: Adding a check for exposable json attributes.

In ticket #229 you removed the ability to output the relations as Array or JSON, which is fine, however you left no way to keep them in. This pull allows the user to specify an `$exposeJsonAttributes` array on the class to include the relations in a toArray or toJson call.