Welcome Guest, Not a member yet? Register   Sign In
Using Controller Filters to add data to Views
#1

Hi,

I read about Controller Filters but still unsure how to send data to Views using AFTER filter as per documentation AFTER Filter "Allows to inspect and modify the response"

In controllers we can send data to views using  "return view('My_view', $this->data);" 
How do we send or iterate through the response object using After Filters? Can we send data to views as well?

Regards
Reply


Messages In This Thread
Using Controller Filters to add data to Views - by myo - 08-04-2020, 01:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB