Log in
Factory

ValidatorFactory

Magento\Deploy\Model\DeploymentConfig\ValidatorFactory

What it does

This factory class creates validator objects that implement the ValidatorInterface for deployment configuration validation.

Developers use this when they need to instantiate different types of deployment configuration validators dynamically, ensuring type safety by verifying each created instance implements the required interface.

Public Methods

  • create()