示例#1
0
 private function __construct()
 {
     $this->CAHCE = new SimpleDataCache();
     $this->enabled = PsDefines::isProfilingEnabled();
     $this->dirManager = DirManager::autogen('profilers');
     if ($this->enabled) {
         PsShotdownSdk::registerDestructable($this, PsShotdownSdk::PsProfiler);
     }
 }