Symfony\Component\Form\FieldInterface::getName PHP Méthode

getName() public méthode

Returns the name of the field.
public getName ( ) : string
Résultat string When the field has no parent, the name is equal to its key. If the field has a parent, the name is composed of the parent's name and the field's key, where the field's key is wrapped in squared brackets (e.g. "parent_name[field_key]")
    function getName();