Netson\L4gettext\Compilers\BladeCompiler::compile PHP Метод

compile() публичный Метод

method differs from parent method in that it returns the compiled path this can be used by the calling function to do cleanup afterwards
public compile ( string $path ) : string
$path string
Результат string
    public function compile($path)
    {
        $contents = $this->compileString($this->files->get($path));
        if (!is_null($this->cachePath)) {
            $compiled_path = $this->getCompiledPath($path);
            $this->files->put($compiled_path, $contents);
        }
        return $compiled_path;
    }