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

Yes, learning the concept of interfaces is good.

What you need to know here are:
1. an interface cannot  be instantiated.  a class (not abstract class) can be instantiated.
2. if a interface is type hinted, you should use methods in the interface. so you are not wrong.

The CI4's the type hint is broken now.
Reply


Messages In This Thread
RE: setHeader not available in Responseinterface - by kenjis - 06-30-2022, 04:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB