You are here

public function isValid::isValidNumber in International Phone 8

Same name and namespace in other branches
  1. 8.2 src/Helpers/isValid.php \Drupal\phone_international\Helpers\isValid::isValidNumber()

Full validation of a phone number.

Parameters

string $number: Validate whether the number is valid.

1 method overrides isValid::isValidNumber()
ValidatingService::isValidNumber in src/Helpers/ValidatingService.php
Utility for international phone numbers.

File

src/Helpers/isValid.php, line 16

Class

isValid
Interface isValid.

Namespace

Drupal\phone_international\Helpers

Code

public function isValidNumber($number);