re: How to deprecate a type in php VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

This solution is enough in some situations. In others, you will need inheritance, and in some more complicated situations, you will have to resort to class aliases. That's what I failed to make perfectly clear in my article.

code of conduct - report abuse