FieldGeneratorResolver
Read onlyYes
FinalYes
Find matching field generator class instance
Table of Contents
Methods
- __construct() : mixed
- resolve() : FieldGeneratorInterface
- Resolve a generator class and return its instance.
Methods
__construct()
public
__construct(array<string|int, mixed> $fieldValueGenerators) : mixed
Parameters
- $fieldValueGenerators : array<string|int, mixed>
resolve()
Resolve a generator class and return its instance.
public
resolve(array<string|int, mixed> $data) : FieldGeneratorInterface
Either returns an instance of FieldGeneratorInterface or throws exception
Parameters
- $data : array<string|int, mixed>
-
Criteria data