chriso/klein.php — pull request #62 by henriktudborg (2012-12-17 23:35:59+00:00)
Title: call $callback via call_user_func

I needed the ability to route to HTTPResource::GET, HTTPResource::PUT etc.
so i changed the way klein calls the route handlers.

By using call_user_func, any callable will be accepted as valid.

Should be fully backwards compatible.
Also added a test to ensure it actually works.