public static function exceptionHandler($exception) { $msg = $exception->getMessage() . ' | ' . $exception->getFile() . ' #' . $exception->getLine(); RTLog::set($msg, get_class($exception)); }
protected static function getInstance() { if (self::$instance === NULL) { $class = __CLASS__; self::$instance = new $class(); } return self::$instance; }