Skip to content
Snippets Groups Projects

Issue #3376601: Use validation functions from the libphonenumber library

Open Issue #3376601: Use validation functions from the libphonenumber library
All threads resolved!
All threads resolved!
Files
2
@@ -40,6 +40,12 @@ class PhoneNumberConstraint extends Constraint {
*/
public $allowedCountry = 'The country @value provided for @field_name is not an allowed country.';
/**
* The invalid number message.
*
* @var string
*/
public $invalidNumber = 'The @field_name @value is not a valid phone number.';
/**
* {@inheritdoc}
*/
Loading