$include .= $path . PATH_SEPARATOR; } set_include_path($include . PATH_SEPARATOR . get_include_path()); } public static function loadDir($path) { Autoload::loadDir($path); } public static function run() { self::getInstance()->application->run(); } public function __destruct() { echo "\n\n"; } } } namespace { function desc($description) { global $tab_last_description; $tab_last_description = $description; } function task($tasks = array(), $args = array(), $block) { $tab = Tab\Tab::getInstance(); $tab->application->defineTask("Tab\\Task", $tasks, $args, $block); } \Tab\Tab::run(); }