I want to get the name of my child class in the base class so that whenever an object of child class is created I get the name of the child class in my base class. Something
class BaseClass{
function __construct($tableName){
// do stuff w/ $tableName
}
}
class ChildClass extends BaseClass{
function __construct(){
parent::__construct('ChildClass');
}
}