/** * Called before Zend_Controller_Front exits its dispatch loop. * * @return void */ public function dispatchLoopShutdown() { // Time dispatch loop process Zym_Debug::getTimer('DispatchLoop', 'Dispatch')->stop(); }
/** * Get instance * * Implements the singleton pattern * * @return Zym_Debug */ public static function getInstance() { if (self::$_instance === null) { self::$_instance = new self(); // Setup instance self::_init(); } return self::$_instance; }