示例#1
0
<?php

use lithium\core\Environment;
if (!Environment::is('production')) {
    \li3_debug\extensions\storage\Debugger::init();
}
示例#2
0
 public static function registerShutdownHandler()
 {
     register_shutdown_function(function () {
         Debugger::terminate();
     });
 }
示例#3
0
 /**
  * @param string $key
  * @return mixed
  */
 public function get($key)
 {
     return Debugger::get($key);
 }