setHeader not available in Responseinterface |
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? |
Welcome Guest, Not a member yet? Register Sign In |