src/Leevel/Option/ComposerOption.php
protected function getAppComposerOption(): array
    {
        $path = $this->path.'/composer.json';

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

        return $this->getLeevelOption($this->getFileContent($path));
    }
protected function getAppComposerOption(): array
    {
        $path = $this->path.'/composer.json';

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

        return $this->getLeevelOption($this->getFileContent($path));
    }
取得应用的 composer 配置.

@return array