codeguy/Slim — pull request #779 by mcuelenaere (2014-03-06 09:25:56+00:00)
Title: Lazy-initialize class in \Slim\Route::setCallable()

You don't want to construct all kinds of objects when setting up your routes, so don't initialize those objects until
the route is actually dispatched. Add some basic caching so multiple route dispatches don't result in multiple class
instantiations.