public static function run($basePath) { $instance = new self(); $instance->init($basePath); $instance->handleRequest(); }