I have a situation where I need to pass the name of the child class back to the parent class in order to take some action.The way I have it set up at the moment is:\[code\]class SomeParentClass { public function __construct($c = false){ ... }}class SomeChildClass extends SomeParentClass { public function __construct(){ parent::__construct(__CLASS__){ ... } }}\[/code\]This will pass the name of the child class back to the parent, but if the child class does not do this then the variable \[code\]$c\[/code\] will retain the bool value \[code\]false\[/code\].It works, it makes sense, but is this the cleanest way to do this? Is there a way to auto detect which child class has called \[code\]parent::__construct()\[/code\] without passing it as a variable?Many thanks