CustomerCallNumber
in package
implements
CustomerCallNumberInterface
Uses
StringUtilityTrait
Value Object
Class CustomerCallNumber
Represents a phone or fax number
Tags
Interfaces, Classes and Traits
- CustomerCallNumberInterface
- Value Object.
Table of Contents
- $callNumber : string
- Customer's call number.
- __construct() : mixed
- Constructor of the class CustomerCallNumber.
- __toString() : string
- Returns the equivalent string value.
- strlenWrapper() : mixed
Properties
$callNumber
Customer's call number.
protected
string
$callNumber
Methods
__construct()
Constructor of the class CustomerCallNumber.
public
__construct(string $p_callNumber) : mixed
Validates the length and data type of the customer call number.
Parameters
- $p_callNumber : string
-
Customer's call number.
Tags
Return values
mixed —__toString()
Returns the equivalent string value.
public
__toString() : string
Return values
string —Equivalent string value.
strlenWrapper()
protected
strlenWrapper(mixed $string[, mixed $encoding = 'utf-8' ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = 'utf-8'