Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add documentation for attributesToArray (laravel#5215)
`attributesToArray()` is a public method and is useful to avoid a potential infinite recursion if a model's relationships are not needed. see https://stackoverflow.com/a/56400803/4468423
- Loading branch information