*/ final class AddressField implements FieldInterface { use FieldTrait; public static function new(string $propertyName, ?string $label = null): self { return (new self()) ->hideOnIndex() ->setProperty($propertyName) ->setLabel($label) ->setFormType(AddressType::class); } }