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

Extract interface

Last modified: 23 August 2023

Suppose you have a class with several methods for retrieving and storing data. It is highly probable that similar functions will be used in other classes as well. It is very helpful to have an interfaces created on the base of this classes.