Copied!

FieldMapperInterface

FieldMapperInterface.php : 14

Methods

publicgetSupportedField()

FieldMapperInterface.php : 30

Returns identifier of the field definition supported by the mapper.

public getSupportedField() : string

Return values

string

publicmapField()

FieldMapperInterface.php : 23

Builds form for the specified field.

public mapField(FormBuilderInterface $builder, Field $field[, array<string|int, Constraint$constraints = [] ]) : void

Parameters

Name Type Default value Description
$builder FormBuilderInterface - -
$field Field - -
$constraints array<string|int, Constraint> [] -