src/PugBladeCompiler.php
public function compile($path = null)
    {
        $app = Blade::getFacadeApplication();

        if (isset($app['view'])) {
            $this->enableBladeDirectives();
        }

        $this->footer = array();
        $this->compileWith($path, array($this, 'compileString'));
    }
public function compile($path = null)
    {
        $app = Blade::getFacadeApplication();

        if (isset($app['view'])) {
            $this->enableBladeDirectives();
        }

        $this->footer = array();
        $this->compileWith($path, array($this, 'compileString'));
    }
Compile the view at the given path.

@param string $path

@throws \InvalidArgumentException

@return void