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