Answer the question
In order to leave comments, you need to log in
How to understand php datatype as object?
I often see how a class or an interface is set as the type of arguments or return type. Something like this.
Or, I cut out two figures, in which the interface is declared as a type.
How to understand such a data type, what is obtained from the object as a value of the type, how can you be sure that what was intended will be pulled from the class? Well, I don't understand this at all. Tell me where to look, what to read.
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