Posts by Guilherme Augusto • 1 point
1 post
-
-1
votes2
answers849
viewsA: Catch instance of daughter class
It is possible to obtain the name of the daughter class in the parent class as follows: $this->classObjectChild = get_called_class();
1 post
-1
votes2
answers849
viewsIt is possible to obtain the name of the daughter class in the parent class as follows: $this->classObjectChild = get_called_class();