trait PhoneTrait

Class PhoneTrait.

Traits

Class NameTrait.
Class TypeTrait.
Class PhoneNumberTrait.
Class PhoneExtensionTrait.

Methods

$this
setName( string $name)

No description

from NameTrait
string|null
getName()

No description

from NameTrait
bool
hasName()

No description

from NameTrait
$this
clearName()

No description

from NameTrait
mixed|null
getType()

No description

from TypeTrait
$this
setType( mixed $type)

No description

from TypeTrait
bool
hasType()

No description

from TypeTrait
$this
clearType()

No description

from TypeTrait
$this
setNumber( string $number)

No description

string|null
getNumber()

No description

string
getNumberFormatted()

No description

bool
hasNumber()

No description

$this
clearNumber()

No description

$this
setExtension( int $extension)

No description

int|null
getExtension()

No description

bool
hasExtension()

No description

$this
clearExtension()

No description

Details

in NameTrait at line line 32
$this setName( string $name)

Parameters

string $name

Return Value

$this

in NameTrait at line line 42
string|null getName()

Return Value

string|null

in NameTrait at line line 50
bool hasName()

Return Value

bool

in NameTrait at line line 58
$this clearName()

Return Value

$this

in TypeTrait at line line 28
mixed|null getType()

Return Value

mixed|null

in TypeTrait at line line 38
$this setType( mixed $type)

Parameters

mixed $type

Return Value

$this

in TypeTrait at line line 48
bool hasType()

Return Value

bool

in TypeTrait at line line 56
$this clearType()

Return Value

$this

in PhoneNumberTrait at line line 32
$this setNumber( string $number)

Parameters

string $number

Return Value

$this

in PhoneNumberTrait at line line 42
string|null getNumber()

Return Value

string|null

in PhoneNumberTrait at line line 50
string getNumberFormatted()

Return Value

string

in PhoneNumberTrait at line line 58
bool hasNumber()

Return Value

bool

in PhoneNumberTrait at line line 66
$this clearNumber()

Return Value

$this

in PhoneExtensionTrait at line line 30
$this setExtension( int $extension)

Parameters

int $extension

Return Value

$this

in PhoneExtensionTrait at line line 40
int|null getExtension()

Return Value

int|null

in PhoneExtensionTrait at line line 48
bool hasExtension()

Return Value

bool

in PhoneExtensionTrait at line line 56
$this clearExtension()

Return Value

$this