src/Console/OptimizeCommand.php
protected function compileSingleViewFile($engine, string $file): void
    {
        if ($engine instanceof CompilerEngine) {
            $engine->getCompiler()->compile($file);
        }
    }
protected function compileSingleViewFile($engine, string $file): void
    {
        if ($engine instanceof CompilerEngine) {
            $engine->getCompiler()->compile($file);
        }
    }
Compile single view file.

@param  mixed  $engine
@param  string  $file

@return void