PhoneNumber
Table of Contents
Methods
-
format()
: mixed
-
getCountry()
: mixed
-
getCountryCode()
: mixed
-
getExtension()
: string
-
getExtensionSeparator()
: mixed
-
getNationalNumber()
: string
-
getNationalPrefix()
: string
-
getNumberType()
: mixed
-
getRawNumber()
: string
-
hasExtension()
: mixed
-
hasPlus()
: bool
-
isInternational()
: bool
-
isValid()
: bool
-
setCountry()
: mixed
-
setCountryCode()
: mixed
-
setExtension()
: mixed
-
setExtensionSeparator()
: mixed
-
setHasPlus()
: mixed
-
setInternational()
: mixed
-
setNationalNumber()
: mixed
-
setNationalPrefix()
: mixed
-
setNumberType()
: mixed
-
setRawNumber()
: mixed
-
setValid()
: mixed
public
format([mixed $formatType = '' ][, mixed $forceNationalPrefix = false ]) : mixed
Parameters
-
$formatType
: mixed
= ''
-
-
$forceNationalPrefix
: mixed
= false
-
getCountry()
public
getCountry() : mixed
getCountryCode()
public
getCountryCode() : mixed
getExtension()
public
getExtension() : string
getExtensionSeparator()
public
getExtensionSeparator() : mixed
getNationalNumber()
public
getNationalNumber() : string
getNationalPrefix()
public
getNationalPrefix() : string
getNumberType()
public
getNumberType() : mixed
getRawNumber()
public
getRawNumber() : string
hasExtension()
public
hasExtension() : mixed
hasPlus()
public
hasPlus() : bool
isInternational()
public
isInternational() : bool
isValid()
public
isValid() : bool
setCountry()
public
setCountry(mixed $country) : mixed
Parameters
-
$country
: mixed
-
setCountryCode()
public
setCountryCode(string $countryCode) : mixed
Parameters
-
$countryCode
: string
-
setExtension()
public
setExtension(string $extension) : mixed
Parameters
-
$extension
: string
-
setExtensionSeparator()
public
setExtensionSeparator(mixed $extensionSeparator) : mixed
Parameters
-
$extensionSeparator
: mixed
-
setHasPlus()
public
setHasPlus(bool $hasPlus) : mixed
Parameters
-
$hasPlus
: bool
-
setInternational()
public
setInternational(bool $international) : mixed
Parameters
-
$international
: bool
-
setNationalNumber()
public
setNationalNumber(string $nationalNumber) : mixed
Parameters
-
$nationalNumber
: string
-
setNationalPrefix()
public
setNationalPrefix(string $nationalPrefix) : mixed
Parameters
-
$nationalPrefix
: string
-
setNumberType()
public
setNumberType(mixed $numberType) : mixed
Parameters
-
$numberType
: mixed
-
setRawNumber()
public
setRawNumber(string $rawNumber) : mixed
Parameters
-
$rawNumber
: string
-
setValid()
public
setValid(bool $valid) : mixed
Parameters
-
$valid
: bool
-