class Bob extends Person
{
//do some stuff
}
class Person
{
public function __construct()
{
//get the class name of the class that is extending this one
//should be Bob
}
}
Nasıl Bob
Person
sınıfının yapıcısı içindeki sınıf adını alabilirim?