In a restful controller, which class should I use to get passed variables?
$member->email = Input::get('email');
// or
$member->email = Request::get('email');
both options work for me, but whats the difference?
Input::get()
is just a helper that maps to the Request class. It doesn't really matter which you use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With