PHP interfaces can have constants, but not properties (instance variables).
Interfaces in PHP may only contain public method signatures without a method body. They may also contain constants. But that’s it. Nothing else.
PHP interfaces can have constants, but not properties (instance variables).
Interfaces in PHP may only contain public method signatures without a method body. They may also contain constants. But that’s it. Nothing else.