0
public function store (Request $request)
{
    $images = request()->file ( key:'file');
    dd( ...vars: $images);
}

Is the key: and ...var: attribute not reccognized in Laravel 5.8, because it keeps throwing syntax error at me?

Twenty
  • 5,234
  • 4
  • 32
  • 67

1 Answers1

0

Missing $ sign with those keywords! Hope it helps.