Support the ongoing development of Laravel.io →
Requests Input
Last updated 2 years ago.
0

Why do you need the $data in the function ? I don't see it being used in the code.

Or are you trying to run the validation on the $data and not the $request->all() ?

0

I am yet to implement $data so it will be there. I just need to know will it work?

My request has passed its validation now its time to deal with the data is my thinking

0

But wouldn't $request->all() be the data that came from the form that your validating?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.