chriso/klein.php — pull request #143 by Rican7 (2013-10-08 03:17:49+00:00)
Title: Feature - Route callback handling

This PR adds a more strict type-hint to the `handleRouteCallback()` method for a more strict way of overriding the protected API while providing the method with more data (the actual Route instance).

This also strengthens the dispatch loop's code by reducing the number of methods called per loop iteration.

Finally, this fixes some of the ambiguously titled variables by giving them more appropriate names