FOF30\Form\FieldInterface::getAttribute PHP Méthode

getAttribute() public méthode

Method to get an attribute of the field
public getAttribute ( string $name, mixed $default = null ) : mixed
$name string Name of the attribute to get
$default mixed Optional value to return if attribute not found
Résultat mixed Value of the attribute / default
    public function getAttribute($name, $default = null);