src/Leevel/View/Parser.php
public function registerCompilers(): IParser
    {
        foreach ($this->compiler->getCompilers() as $compiler) {
            foreach ((array) $compiler[1] as $name) {
                $this->registerCompiler($compiler[0], $name, $compiler[2]);
            }
        }

        return $this;
    }
public function registerCompilers(): IParser
    {
        foreach ($this->compiler->getCompilers() as $compiler) {
            foreach ((array) $compiler[1] as $name) {
                $this->registerCompiler($compiler[0], $name, $compiler[2]);
            }
        }

        return $this;
    }
注册视图编译器.

@return $this