Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
libphonenumber
PhoneNumber
hasCountryCodeSource
libphonenumber\PhoneNumber::hasCountryCodeSource PHP Method
PhoneNumber Class Documentation
Show file
Open project: giggsey/libphonenumber-for-php
hasCountryCodeSource()
public
method
Returns whether this phone number has a country code source.
public
hasCountryCodeSource
( ) :
boolean
return
boolean
True if a country code source is set, false otherwise.
public function hasCountryCodeSource() { return isset($this->countryCodeSource); }
PhoneNumber
__toString
clear
clearCountryCode
clearCountryCodeSource
clearExtension
clearItalianLeadingZero
clearNationalNumber
clearNumberOfLeadingZeros
clearPreferredDomesticCarrierCode
clearRawInput
equals
getCountryCode
getCountryCodeSource
getExtension
getNationalNumber
getNumberOfLeadingZeros
getPreferredDomesticCarrierCode
getRawInput
hasCountryCode
hasCountryCodeSource
hasExtension
hasItalianLeadingZero
hasNationalNumber
hasNumberOfLeadingZeros
hasPreferredDomesticCarrierCode
hasRawInput
isItalianLeadingZero
mergeFrom
serialize
setCountryCode
setCountryCodeSource
setExtension
setItalianLeadingZero
setNationalNumber
setNumberOfLeadingZeros
setPreferredDomesticCarrierCode
setRawInput
unserialize