예제 #1
0
 /**
  * @param Processor $compiler
  */
 public function add(Processor $compiler)
 {
     $this->list[$compiler->getFileExtension()] = $compiler;
 }
예제 #2
0
 protected function assertProcess($expected, $current, $file = 'example.file')
 {
     $this->fileSystem->setContent($file, $current);
     $this->assertEquals($expected, $this->target->process($file));
 }
예제 #3
0
 /**
  * @inheritdoc
  */
 public function getOutputMimeType()
 {
     return $this->processor->getOutputMimeType();
 }