You are here

public function Formatter::__construct in Telephone Formatter 8

Validator constructor.

File

src/Formatter.php, line 32

Class

Formatter
Formatter service.

Namespace

Drupal\telephone_formatter

Code

public function __construct(LanguageManagerInterface $languageManager) {
  $this->languageManager = $languageManager;
  $this->phoneUtils = PhoneNumberUtil::getInstance();
}