private function getCompiler(): BladeCompiler
    {
        if ($this->compiler) {
            return $this->compiler;
        }

        if (!is_dir($this->cache)) {
            mkdir($this->cache, 0777, true);
        }

        $blade = new BladeCompiler(new Filesystem(), $this->cache);

        $this->directives->register($blade);

        $this->compiler = $blade;

        return $this->compiler;
    }
private function getCompiler(): BladeCompiler
    {
        if ($this->compiler) {
            return $this->compiler;
        }

        if (!is_dir($this->cache)) {
            mkdir($this->cache, 0777, true);
        }

        $blade = new BladeCompiler(new Filesystem(), $this->cache);

        $this->directives->register($blade);

        $this->compiler = $blade;

        return $this->compiler;
    }
private function getCompiler ( ) : BladeCompiler { if ( $ this -> compiler ) { return $ this -> compiler ; } if ( ! is_dir ( $ this -> cache ) ) { mkdir ( $ this -> cache , 0777 , true ) ; } $ blade = new BladeCompiler ( new Filesystem ( ) , $ this -> cache ) ; $ this -> directives -> register ( $ blade ) ; $ this -> compiler = $ blade ; return $ this -> compiler ; }
Get the internal compiler in use.

@return BladeCompiler
Get the internal compiler in use .