Log in
Factory

Model\Factory

Magento\Persistent\Model\Factory

What it does

This factory class serves as a wrapper around Magento's ObjectManager to create instances of various models within the Persistent module.

Developers would use this factory when they need to dynamically instantiate persistent-related objects at runtime, particularly when the specific class type needs to be determined programmatically rather than through dependency injection.

Public Methods

  • create()