/**
  * @inheritdoc
  */
 public function bind(IteratorAggregate $files, ProcessorList $compiler)
 {
     parent::bind($files, $compiler);
     $key = $this->generateCacheKey($files);
     $entry = $this->getEntry($key, $files, $compiler);
     $this->update($entry);
     return $entry->getContent();
 }
示例#2
0
 /**
  * @inheritdoc
  */
 public function bind(IteratorAggregate $files, ProcessorList $compiler)
 {
     $return = parent::bind($files, $compiler);
     foreach ($files as $file) {
         $return .= $this->process($file, $compiler);
     }
     return $return;
 }