Answer the question
In order to leave comments, you need to log in
What are the ways to implement "php chain inheritance"?
Let's say there is a Base class that implements __set __get and stores a single $registry property for storing data.
There are two more classes Controller and Entity
We need an inheritance scheme Base > Controller > Entity.
Just wondering, I'm not going to use such a crutch! Traits not to offer - I know.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question