FieldGeneratorResolver
final readonly class \
Find matching field generator class instance
Internal
Table of Contents
Methods
- __construct() : mixed
- resolve() : FieldGeneratorInterface
- Resolve a generator class and return its instance.
Methods
__construct()
public
__construct(array $fieldValueGenerators) : mixed
Parameters
- $fieldValueGenerators : array
resolve()
Resolve a generator class and return its instance.
public
resolve(array $data) : FieldGeneratorInterface
Either returns an instance of FieldGeneratorInterface or throws exception
Parameters
- $data : array
-
Criteria data