Ho do I loop through a subset of a Symfony parameters bag. I only want the values in #parameters: array:11

Illuminate\Http\Request {#43 ▼
  #json: null
  #convertedFiles: null
  #userResolver: Closure($guard = null) {#1288 ▶}
  #routeResolver: Closure() {#1297 ▶}
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45 ▶}
  +request: Symfony\Component\HttpFoundation\ParameterBag {#44 ▼
   

>  #parameters: array:11 [▼
>       "_token" => "oidGncjQSWhs7XdJN3G3cwLvP6G1gZ7PM5gdLRmg"
>       "platform" => "PC"
>       "username" => "Nandor Xorandor"
>       "player" => "Ready Player One!"
>       "level" => "25"
>       "find" => "Find"
>       "prefix" => "Anti-Armor"
>       "weapon" => ".44 Pistol"
>       "primary" => "+10% Damage While Aiming"
>       "secondary" => "VATS Crits fill 15% Fstr."
>       "notes" => null
>     ]

I wish to preserve these values in another array. I know I could just do it this way:

$Obj_atributes = array("platform"=> $request->get('platform'),"username"=> $request->get('username'), 
                        "player"=> $request->get('player'), "level"=> $request->get('level'), 
                        "prefix"=> $request->get('prefix'), "weapon"=> $request->get('weapon'), 
                        "primary"=> $request->get('primary'), "secondary"=> $request->get('secondary'), 
                        "value"=> $request->get('value'), "notes"=> $request->get('notes'));

but I should be able to create a loop, I just don't know how.