Library/Compiler/CompilerFileFactory.php
public function create($className, $filePath)
    {
        $compiler = new CompilerFile($this->config, new AliasManager(), $this->filesystem);

        $compiler->setClassName($className);
        $compiler->setFilePath($filePath);
        $compiler->setLogger($this->logger);

        return $compiler;
    }
public function create($className, $filePath)
    {
        $compiler = new CompilerFile($this->config, new AliasManager(), $this->filesystem);

        $compiler->setClassName($className);
        $compiler->setFilePath($filePath);
        $compiler->setLogger($this->logger);

        return $compiler;
    }
public function create ( $ className , $ filePath ) { $ compiler = new CompilerFile ( $ this -> config , new AliasManager ( ) , $ this -> filesystem ) ; $ compiler -> setClassName ( $ className ) ; $ compiler -> setFilePath ( $ filePath ) ; $ compiler -> setLogger ( $ this -> logger ) ; return $ compiler ; }
Creates CompilerFile instance.

NOTE: Each instance of CompilerFile must have its own AliasManager instance.

@param string $className
@param string $filePath

@return FileInterface
Creates CompilerFile instance .