laravel/framework — pull request #2814 by crynobone (2013-11-27 12:54:12+00:00)
Title: ModelNotFoundException to include setter and getter for model name.

This would allow identifying the model name much easier without having to have additional string parser, and at the same time preserve the current message.

Signed-off-by: crynobone

Improvement to #2715

p/s: I'm not sure if the @taylorotwell would prefer this syntax. I'm open to other approach.