PHP Class libphonenumber\PhoneNumberDesc

Exibir arquivo Open project: giggsey/libphonenumber-for-php Class Usage Examples

Protected Properties

Property Type Description
$exampleNumber
$hasExampleNumber
$hasNationalNumberPattern
$hasPossibleNumberPattern
$nationalNumberPattern
$possibleLength array
$possibleLengthLocalOnly array
$possibleNumberPattern

Public Methods

Method Description
__construct ( )
addPossibleLength ( $possibleLength )
addPossibleLengthLocalOnly ( $possibleLengthLocalOnly )
clear ( ) : PhoneNumberDesc
clearExampleNumber ( ) : PhoneNumberDesc
clearNationalNumberPattern ( ) : PhoneNumberDesc
clearPossibleLength ( )
clearPossibleLengthLocalOnly ( )
clearPossibleNumberPattern ( ) : PhoneNumberDesc
exactlySameAs ( PhoneNumberDesc $other ) : boolean
fromArray ( array $input ) : PhoneNumberDesc
getExampleNumber ( ) : string
getNationalNumberPattern ( ) : string
getPossibleLength ( ) : array
getPossibleLengthLocalOnly ( ) : array
getPossibleNumberPattern ( ) : string
hasExampleNumber ( ) : string
hasNationalNumberPattern ( ) : boolean
hasPossibleNumberPattern ( ) : boolean
mergeFrom ( PhoneNumberDesc $other ) : PhoneNumberDesc
setExampleNumber ( string $value ) : PhoneNumberDesc
setNationalNumberPattern ( string $value ) : PhoneNumberDesc
setPossibleLength ( array $possibleLength )
setPossibleLengthLocalOnly ( array $possibleLengthLocalOnly )
setPossibleNumberPattern ( string $value ) : PhoneNumberDesc
toArray ( ) : array

Method Details

__construct() public method

public __construct ( )

addPossibleLength() public method

public addPossibleLength ( $possibleLength )

addPossibleLengthLocalOnly() public method

public addPossibleLengthLocalOnly ( $possibleLengthLocalOnly )

clear() public method

public clear ( ) : PhoneNumberDesc
return PhoneNumberDesc

clearExampleNumber() public method

public clearExampleNumber ( ) : PhoneNumberDesc
return PhoneNumberDesc

clearNationalNumberPattern() public method

public clearNationalNumberPattern ( ) : PhoneNumberDesc
return PhoneNumberDesc

clearPossibleLength() public method

public clearPossibleLength ( )

clearPossibleLengthLocalOnly() public method

clearPossibleNumberPattern() public method

public clearPossibleNumberPattern ( ) : PhoneNumberDesc
return PhoneNumberDesc

exactlySameAs() public method

public exactlySameAs ( PhoneNumberDesc $other ) : boolean
$other PhoneNumberDesc
return boolean

fromArray() public method

public fromArray ( array $input ) : PhoneNumberDesc
$input array
return PhoneNumberDesc

getExampleNumber() public method

public getExampleNumber ( ) : string
return string

getNationalNumberPattern() public method

public getNationalNumberPattern ( ) : string
return string

getPossibleLength() public method

public getPossibleLength ( ) : array
return array

getPossibleLengthLocalOnly() public method

public getPossibleLengthLocalOnly ( ) : array
return array

getPossibleNumberPattern() public method

public getPossibleNumberPattern ( ) : string
return string

hasExampleNumber() public method

public hasExampleNumber ( ) : string
return string

hasNationalNumberPattern() public method

hasPossibleNumberPattern() public method

mergeFrom() public method

public mergeFrom ( PhoneNumberDesc $other ) : PhoneNumberDesc
$other PhoneNumberDesc
return PhoneNumberDesc

setExampleNumber() public method

public setExampleNumber ( string $value ) : PhoneNumberDesc
$value string
return PhoneNumberDesc

setNationalNumberPattern() public method

public setNationalNumberPattern ( string $value ) : PhoneNumberDesc
$value string
return PhoneNumberDesc

setPossibleLength() public method

public setPossibleLength ( array $possibleLength )
$possibleLength array

setPossibleLengthLocalOnly() public method

public setPossibleLengthLocalOnly ( array $possibleLengthLocalOnly )
$possibleLengthLocalOnly array

setPossibleNumberPattern() public method

public setPossibleNumberPattern ( string $value ) : PhoneNumberDesc
$value string
return PhoneNumberDesc

toArray() public method

public toArray ( ) : array
return array

Property Details

$exampleNumber protected_oe property

protected $exampleNumber

$hasExampleNumber protected_oe property

protected $hasExampleNumber

$hasNationalNumberPattern protected_oe property

protected $hasNationalNumberPattern

$hasPossibleNumberPattern protected_oe property

protected $hasPossibleNumberPattern

$nationalNumberPattern protected_oe property

protected $nationalNumberPattern

$possibleLength protected_oe property

protected array $possibleLength
return array

$possibleLengthLocalOnly protected_oe property

protected array $possibleLengthLocalOnly
return array

$possibleNumberPattern protected_oe property

protected $possibleNumberPattern