src/Build/Builder.php
public function makeSource(SplFileInfo $file, $outputDir)
    {
        return new Source($file->getPathname(), $outputDir . DIRECTORY_SEPARATOR . $file->getFilename());
    }
public function makeSource(SplFileInfo $file, $outputDir)
    {
        return new Source($file->getPathname(), $outputDir . DIRECTORY_SEPARATOR . $file->getFilename());
    }
public function makeSource ( SplFileInfo $ file , $ outputDir ) { return new Source ( $ file -> getPathname ( ) , $ outputDir . DIRECTORY_SEPARATOR . $ file -> getFilename ( ) ) ; }
Create a Source from the given file and output dir.

@param SplFileInfo $file
@param string $outputDir
@return Source
Create a Source from the given file and output dir .