src/Leevel/Console/Make.php
protected function parseTemplateSource(): void
    {
        $templateSource = $this->getTemplatePath();

        if (!is_file($templateSource)) {
            throw new RuntimeException(
                'Stub not found.'.PHP_EOL.
                $this->formatFile($templateSource)
            );
        }

        $this->templateSource = file_get_contents($templateSource);
    }
protected function parseTemplateSource(): void
    {
        $templateSource = $this->getTemplatePath();

        if (!is_file($templateSource)) {
            throw new RuntimeException(
                'Stub not found.'.PHP_EOL.
                $this->formatFile($templateSource)
            );
        }

        $this->templateSource = file_get_contents($templateSource);
    }
分析模板源码.