Codingbean/Macaw — pull request #19 by daveismyname (2014-04-07 12:33:43+00:00)
Title: Added controller call option

Routes can be mapped to a class by calling the classname then specify the method, seperate these with a @ any dynamic calls such as (:any) will be passed as parameters to the method.

Examples:

Macaw::get('/', 'demoController@home');
Macaw::get('/demo', 'demoController@demo');
Macaw::get('/demo/(:any)', 'demoController@user');