src/Leevel/Kernel/Console/Autoload.php
protected function appHelpers(): array
    {
        $path = $this->app->path().'/composer.json';

        if (!is_file($path)) {
            return [];
        }

        $options = $this->getFileContent($path);

        return $options['extra']['leevel-console']['autoload']['files'] ?? [];
    }
protected function appHelpers(): array
    {
        $path = $this->app->path().'/composer.json';

        if (!is_file($path)) {
            return [];
        }

        $options = $this->getFileContent($path);

        return $options['extra']['leevel-console']['autoload']['files'] ?? [];
    }
取得应用的 composer 自动载入助手文件配置.

@return array