I have a route like this:
Route::get('page/{id},{time}', 'OpController@op');
Now my method is simply:
public function op(Request $request, $id, $time)
{
dump($request->all());
dump($id);
}
If I call that with /op/hello,123 I get this dump:
$request->all() -> []
$id -> "hello"
Is there any reasons that $request doesn't have the parameters?
$request->input('id') returns null