src/Leevel/View/Manager.php
protected function makeConnectHtml(array $options = []): Html
    {
        $options = $this->normalizeConnectOption('html', $options);
        $options = array_merge(
            $options, $this->viewOptionCommon()
        );

        $container = $this->container;

        $html = new Html($options);

        $html->setParseResolver(function () use ($container) {
            return $container['view.parser'];
        });

        return $html;
    }
protected function makeConnectHtml(array $options = []): Html
    {
        $options = $this->normalizeConnectOption('html', $options);
        $options = array_merge(
            $options, $this->viewOptionCommon()
        );

        $container = $this->container;

        $html = new Html($options);

        $html->setParseResolver(function () use ($container) {
            return $container['view.parser'];
        });

        return $html;
    }
创建 html 模板驱动.

@param array $options

@return \Leevel\View\Html