Design Patterns - Static Factory Method Pattern
The static factory method is a creational design pattern to create instances of a class, it works like the factory method, but unlike this one, the static factory method just consists of a static method within the class.
This creational design pattern is especially useful in certain scenarios, for example, when the constructor is private.