public function parentProductFunction() { /** * class the function * which is created in the * parent class */ parent::doSomething(); }