Open fourtwothree opened 6 years ago
You should use the has method to determine if a value is present on the request. The has method returns true if the value is present on the request:
if ($request->has('name')) { // }
You should use the has method to determine if a value is present on the request. The has method returns true if the value is present on the request: