예제 #1
0
파일: KernelCache.php 프로젝트: koolkode/k2
 public function dumpFile()
 {
     if ($this->modified || $this->instrumentationModified) {
         Filesystem::writeFile($this->file, '<?php return ' . var_export($this->dump, true) . ';');
     } elseif (is_file($this->file)) {
         Filesystem::touchFile($this->file);
     }
 }