コード例 #1
0
ファイル: PsProfiler.php プロジェクト: ilivanoff/ps-sdk-dev
 private function __construct()
 {
     $this->CAHCE = new SimpleDataCache();
     $this->enabled = PsDefines::isProfilingEnabled();
     $this->dirManager = DirManager::autogen('profilers');
     if ($this->enabled) {
         PsShotdownSdk::registerDestructable($this, PsShotdownSdk::PsProfiler);
     }
 }