这应该工作:
Class BaseController { protected function show($id){ return "Test Succeeded"; } } Class MyController extends BaseController { public function show($id){ if($id == 1){ parent::show($id); } } } echo (new MyController())->show(1); //Returns Test Succeeded