Welcome Guest, Not a member yet? Register   Sign In
setHeader not available in Responseinterface
#3

(This post was last modified: 06-29-2022, 09:07 AM by groovebird.)

Yes the Response class, but the interface has not the needed methods. Why is it in the documentation if it is not working?
In the BaseController $response is available.

\Config\Service::response()->setHeader() is working, but if we have the response property available this makes no sense.

What is the right way? Why are the needed methods not in the interface?
Reply


Messages In This Thread
RE: setHeader not available in Responseinterface - by groovebird - 06-29-2022, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB