/** * The starting point of every application call. If you are only * using the framework you can rename this function to whatever you * like. * */ function front() { $class = Front::i(); if (func_num_args() == 0) { return $class; } $args = func_get_args(); return $class->__invoke($args); }