Implement methods of an interface or abstract class
If a class is declared as implementing a certain interface or extending a class with abstract methods, it has to implement the methods of such interface or class. PhpStorm creates stubs for implemented methods.
Implement required methods
On the Generate Alt+Insert, and select Implement methods.menu, click Ctrl+I. Alternatively, you can right-click anywhere in the class file, then click
Select the methods to implement. If necessary, select the Copy PHPDoc checkbox to insert PHPDoc comments for the implemented interface or abstract class.