function handleRequest() { //$request = new Request(); $request = core\ApplicationRegistry::getRequest(); $app_c = core\ApplicationRegistry::appController(); while ($cmd = $app_c->getCommand($request)) { $cmd->execute($request); } //\woo\domain\ObjectWatcher::instance()->performOperations(); $this->invokeView($app_c->getView($request)); }
static function getRequest() { return core\ApplicationRegistry::getRequest(); }