PHP ReflectionClass::getConstructor() gives a class's constructor.
If a child class has no constructor defined but its parent class does, then the parent constructor is returned.
Is there a way to distinguish whether the constructor came from a child class or its parent?
Aucun commentaire:
Enregistrer un commentaire