public function setNationalPrefixOptionalWhenFormatting($nationalPrefixOptionalWhenFormatting) { $this->nationalPrefixOptionalWhenFormatting = $nationalPrefixOptionalWhenFormatting; }