src/Leevel/Option/ComposerOption.php
protected function getLeevelOption(array $package): array
    {
        $options = $package['extra']['leevel'] ?? [];

        if ($options) {
            $options = $this->normalizeOption($options);
        }

        return $options;
    }
protected function getLeevelOption(array $package): array
    {
        $options = $package['extra']['leevel'] ?? [];

        if ($options) {
            $options = $this->normalizeOption($options);
        }

        return $options;
    }
获取一个包的 leevel 配置.

@param array $package

@return array