/** * // TODO: Once we have benchmarked ShortnumberInfo, consider if it is worth keeping * this performance optimization, and if so move this into the matcher implementation * @param string $number * @param PhoneNumberDesc $numberDesc * @return bool */ private function matchesPossibleNumberAndNationalNumber($number, PhoneNumberDesc $numberDesc) { return $this->matcherAPI->matchesPossibleNumber($number, $numberDesc) && $this->matcherAPI->matchesNationalNumber($number, $numberDesc, false); }