Is it possible to set constants in interfaces in PHP? If so, how to access them from the classes that implement the interface?
Already found out that you can. Appealing
класс_интерфейса::Имя_константы
And it works!
No, an interface is a collection of abstract methods.
Source: https://ru.stackoverflow.com/questions/26280/More articles:Sort drag & dropWhat are “dependencies” and what problems can be associated with them?How to close the file?Sort in ascending order of valuesQuestion by svnEclipse + GUI DesignerMail () function in phpHow to disable sending the “Expires” http header?Clock shows server time, but on Ajax with one requestUser authorization in .htaccess and nginxAll Articles