예제 #1
0
 private function getEntry($key, IteratorAggregate $files, ProcessorList $compiler)
 {
     if ($this->cache->hasEntry($key)) {
         return $this->requestCache($key, $files, $compiler);
     }
     return $this->process($key, $files, $compiler);
 }
예제 #2
0
 private function getCacheEntry($filePath)
 {
     return $this->cache->hasEntry($filePath) ? $this->requestCacheEntry($filePath) : $this->setCacheEntry($filePath);
 }