![]() |
(10-15-2022, 04:16 AM)groovebird Wrote: Is it right, that some things, if used in the constructor, not work as expected? It does not work as expected. Because the constructor cannot return a Response object. Controller should return a Response object. And in a filter, what you do is just return the Response object that you want. See https://codeigniter4.github.io/CodeIgnit...ponse.html |
Messages In This Thread |
Bug (?) by using ResponseTrait within a filter - by groovebird - 10-14-2022, 10:02 AM
RE: Bug by using ResponseTrait within a filter - by kenjis - 10-14-2022, 04:51 PM
RE: Bug by using ResponseTrait within a filter - by groovebird - 10-15-2022, 04:16 AM
RE: Bug by using ResponseTrait within a filter - by kenjis - 10-15-2022, 05:37 AM
RE: Bug by using ResponseTrait within a filter - by groovebird - 10-15-2022, 06:06 AM
|