mikecao/flight — Issue #5: autoload class method
Author: alioygur
Created: 2011-12-20 15:39:51+00:00
State: open

class Greeting {
public static function hello() {
echo 'hello world!';
}
}

Flight::route('/', array('Greeting','hello'));

the Greeting class it is better to be automatically loaded