Copied!

ProviderValidatorRegistryInterface

ProviderValidatorRegistryInterface.php : 20
Interface

Registry that provides access to provider-specific validators.

This interface follows the Registry pattern, acting as a factory to retrieve the appropriate ProviderValidatorInterface implementation for a given provider.

Methods

publicgetValidator()

ProviderValidatorRegistryInterface.php : 25
public getValidator(TranslationProviderInterface $provider) : ProviderValidatorInterface

Parameters

Name Type Default value Description
$provider TranslationProviderInterface - -

Return values

ProviderValidatorInterface

Tags
Throws
ValidatorNotFoundException