czim / laravel-repository

Repository pattern implementation for Laravel
MIT License
51 stars 19 forks source link

Pass id to ModelNotFoundException inside findOrFail #7

Closed daniel-de-wit closed 7 years ago

daniel-de-wit commented 7 years ago

The default ModelNotFoundException allows for the ids to be passed by default which may be useful.