protected function writeCompiledEnvoyFile($compiler, $path, $serversOnly)
    {
        file_put_contents(
            $envoyPath = getcwd().'/Envoy'.md5_file($path).'.php',
            $compiler->compile(file_get_contents($path), $serversOnly)
        );

        return $envoyPath;
    }
protected function writeCompiledEnvoyFile($compiler, $path, $serversOnly)
    {
        file_put_contents(
            $envoyPath = getcwd().'/Envoy'.md5_file($path).'.php',
            $compiler->compile(file_get_contents($path), $serversOnly)
        );

        return $envoyPath;
    }
protected function writeCompiledEnvoyFile ( $ compiler , $ path , $ serversOnly ) { file_put_contents ( $ envoyPath = getcwd ( ) . '/Envoy' . md5_file ( $ path ) . '.php' , $ compiler -> compile ( file_get_contents ( $ path ) , $ serversOnly ) ) ; return $ envoyPath ; }
Write the compiled Envoy file to disk.

@param  \Laravel\Envoy\Compiler  $compiler
@param  string  $path
@param  bool  $serversOnly
@return string
Write the compiled Envoy file to disk .