PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Override methods of a superclass

Last modified: 04 September 2023

You can override any method of a parent class by generating necessary code from a predefined template. PhpStorm creates a stub that contains a call to the method of the superclass, leaving the developer with the task of providing some meaningful source code in the method's body.