src/Leevel/Kernel/Console/Autoload.php
protected function dataInit(): string
    {
        list($lengths, $prefixs) = $this->prefixesPsr4();

        return '/**
 * Define the root path.
 */
define(\'LEEVEL_COMPOSER\', __DIR__.\'/composer\');

/**
 * generated by `php leevel autoload`.
 */
class ComposerStaticInit
{
    public static $files = '.var_export($this->files(), true).';

    public static $prefixLengthsPsr4 = '.var_export($lengths, true).';

    public static $prefixDirsPsr4 = '.var_export($prefixs, true).';

    public static $prefixesPsr0 = [];

    public static $classMap = '.var_export($this->classMap(), true).';

    public static function getInitializer(ClassLoader $loader)
    {
        return \Closure::bind(function () use ($loader) {
            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
            $loader->prefixesPsr0 = ComposerStaticInit::$prefixesPsr0;
            $loader->classMap = ComposerStaticInit::$classMap;

        }, null, ClassLoader::class);
    }
}';
    }
protected function dataInit(): string
    {
        list($lengths, $prefixs) = $this->prefixesPsr4();

        return '/**
 * Define the root path.
 */
define(\'LEEVEL_COMPOSER\', __DIR__.\'/composer\');

/**
 * generated by `php leevel autoload`.
 */
class ComposerStaticInit
{
    public static $files = '.var_export($this->files(), true).';

    public static $prefixLengthsPsr4 = '.var_export($lengths, true).';

    public static $prefixDirsPsr4 = '.var_export($prefixs, true).';

    public static $prefixesPsr0 = [];

    public static $classMap = '.var_export($this->classMap(), true).';

    public static function getInitializer(ClassLoader $loader)
    {
        return \Closure::bind(function () use ($loader) {
            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
            $loader->prefixesPsr0 = ComposerStaticInit::$prefixesPsr0;
            $loader->classMap = ComposerStaticInit::$classMap;

        }, null, ClassLoader::class);
    }
}';
    }
取得初始化数据.

@return string