PhpStorm
 
Get PhpStorm

Extract interface

Last modified: 11 October 2024

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.