class ParentClass { private function foo() { echo \'foo() in ParentClass\'; } public function test() { echo $this::class; // ChildClass $this-&