public function Validator::__construct in Telephone Validation 8.2
Validator constructor.
File
- src/
Validator.php, line 32
Class
- Validator
- Performs telephone validation.
Namespace
Drupal\telephone_validationCode
public function __construct(CountryManagerInterface $country_manager) {
$this->phoneUtils = PhoneNumberUtil::getInstance();
$this->countryManager = $country_manager;
}