protected static function toIlluminateParameters(SwooleRequest $request)
    {
        $get = $request->get ?? [];
        $post = $request->post ?? [];
        $cookie = $request->cookie ?? [];
        $files = $request->files ?? [];
        $header = $request->header ?? [];
        $server = $request->server ?? [];
        $server = static::transformServerParameters($server, $header);
        $content = $request->rawContent();

        return [$get, $post, $cookie, $files, $server, $content];
    }
protected static function toIlluminateParameters(SwooleRequest $request)
    {
        $get = $request->get ?? [];
        $post = $request->post ?? [];
        $cookie = $request->cookie ?? [];
        $files = $request->files ?? [];
        $header = $request->header ?? [];
        $server = $request->server ?? [];
        $server = static::transformServerParameters($server, $header);
        $content = $request->rawContent();

        return [$get, $post, $cookie, $files, $server, $content];
    }
protected static function toIlluminateParameters ( SwooleRequest $ request ) { $ get = $ request -> get ?? [ ] ; $ post = $ request -> post ?? [ ] ; $ cookie = $ request -> cookie ?? [ ] ; $ files = $ request -> files ?? [ ] ; $ header = $ request -> header ?? [ ] ; $ server = $ request -> server ?? [ ] ; $ server = static :: transformServerParameters ( $ server , $ header ) ; $ content = $ request -> rawContent ( ) ; return [ $ get , $ post , $ cookie , $ files , $ server , $ content ] ; }
Transforms request parameters.

@param \Swoole\Http\Request $request

@return array
Transforms request parameters .