public function transmute($inFilename, Specification $targetFormat, $outFilename)
    {
        $extractedFile = $this->extractor->extract($inFilename, $targetFormat);

        if (!$extractedFile) {
            return null;
        }

        $this->converter->convert($extractedFile, $targetFormat, $outFilename);

        return $outFilename;
    }
public function transmute($inFilename, Specification $targetFormat, $outFilename)
    {
        $extractedFile = $this->extractor->extract($inFilename, $targetFormat);

        if (!$extractedFile) {
            return null;
        }

        $this->converter->convert($extractedFile, $targetFormat, $outFilename);

        return $outFilename;
    }
public function transmute ( $ inFilename , Specification $ targetFormat , $ outFilename ) { $ extractedFile = $ this -> extractor -> extract ( $ inFilename , $ targetFormat ) ; if ( ! $ extractedFile ) { return null ; } $ this -> converter -> convert ( $ extractedFile , $ targetFormat , $ outFilename ) ; return $ outFilename ; }
Transmute file to target format

@param string        $inFilename
@param Specification $targetFormat
@param string        $outFilename

@return string|null
Transmute file to target format