codeguy/Slim-Extras — pull request #85 by falmp (2013-10-03 16:22:52+00:00)
Title: Changed validation to ensure it's a valid resource

It might happen the resource is invalid in case you are caching your objects.