Issue with the controller arguement |
It's still pretty straight forward. Instead of being passed in through the constructor it's passed in through the initController() method, which is identical to what the constructor used to be. So, $this->response still works, unless you're in the constructor.
Besides that, the response and request objects are shared instances through the Services class so the current one can always be retrieved with $request = Config\Services::request();. |
Welcome Guest, Not a member yet? Register Sign In |