src/Leevel/Option/ComposerOption.php
protected function normalizeOption(array $options): array
    {
        $result = [];

        foreach ($this->supportedOptions as $item) {
            $tmp = $options[$item] ?? [];

            if (!is_array($tmp)) {
                $tmp = [$tmp];
            }

            $result[$item] = $tmp;
        }

        return $result;
    }
protected function normalizeOption(array $options): array
    {
        $result = [];

        foreach ($this->supportedOptions as $item) {
            $tmp = $options[$item] ?? [];

            if (!is_array($tmp)) {
                $tmp = [$tmp];
            }

            $result[$item] = $tmp;
        }

        return $result;
    }
格式化配置信息.

@param array $options

@return array