‪TYPO3CMS  ‪main
TYPO3\CMS\FrontendLogin\Service\ValidatorResolverService Class Reference
Inheritance diagram for TYPO3\CMS\FrontendLogin\Service\ValidatorResolverService:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

Generator< T > null resolve (array $validatorConfig)
 

Detailed Description

this is a concrete TYPO3 implementation and solely used for EXT:felogin and not part of TYPO3's Core API.

Definition at line 28 of file ValidatorResolverService.php.

Member Function Documentation

◆ resolve()

Generator<T> null TYPO3\CMS\FrontendLogin\Service\ValidatorResolverService::resolve ( array  $validatorConfig)

Resolves Validator classes based on the validator config. This array can either contain a FQCN or an array with keys "className"(string) and "options"(array).

@template T of ValidatorInterface

Parameters
array<class-string<T>|array{className‪class-string<T>, options: array}> $validatorConfig
Returns
‪Generator<T>|null

Definition at line 39 of file ValidatorResolverService.php.

References $validator.