Interface-defined constants and implementing classes.


/ Published in: PHP
Save to your folder(s)

A class that implements an interface cannot override a constant defined in the interface. But any child class that extends from the implementing class can.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.