src/Leevel/Console/Make.php
protected function parseSourceAndReplace(): array
    {
        $replaceKeyValue = array_merge(static::$globalReplace, $this->getDefaultReplaceKeyValue());

        $sourceKey = array_map(function ($item) {
            return '{{'.$item.'}}';
        }, array_keys($replaceKeyValue));

        $replace = array_values($replaceKeyValue);

        return [$sourceKey, $replace];
    }
protected function parseSourceAndReplace(): array
    {
        $replaceKeyValue = array_merge(static::$globalReplace, $this->getDefaultReplaceKeyValue());

        $sourceKey = array_map(function ($item) {
            return '{{'.$item.'}}';
        }, array_keys($replaceKeyValue));

        $replace = array_values($replaceKeyValue);

        return [$sourceKey, $replace];
    }
分析变量替换.

@return array