src/Leevel/Protocol/Console/Base/Server.php
protected function start(array $option): void
    {
        $show = [];

        $basePath = App::path();

        foreach ($option as $key => $val) {
            if (is_array($val)) {
                continue;
            }

            if (in_array($key, ['pid_path', 'document_root'], true)) {
                $val = str_replace($basePath, '@path', $val);
            }

            $show[] = [$key, $val];
        }

        $this->table(['Item', 'Value'], $show);
    }
protected function start(array $option): void
    {
        $show = [];

        $basePath = App::path();

        foreach ($option as $key => $val) {
            if (is_array($val)) {
                continue;
            }

            if (in_array($key, ['pid_path', 'document_root'], true)) {
                $val = str_replace($basePath, '@path', $val);
            }

            $show[] = [$key, $val];
        }

        $this->table(['Item', 'Value'], $show);
    }
显示 Swoole 服务启动项.

@param array $option