__construct() __construct(int $numberWithoutIDDCode, string $IDDCode = null) : mixed PhoneNumberInterface constructor. Parameters int $numberWithoutIDDCode string $IDDCode Returns mixed —
getPrefixedIDDCode() getPrefixedIDDCode(string $prefix) : string|null Parameters string $prefix Returns string|null —
jsonSerialize() jsonSerialize() : mixed Specify data which should be serialized to JSON. Returns mixed — data which can be serialized by json_encode, which is a value of any type other than a resource
inChineseMainland() inChineseMainland() : bool Check if the phone number belongs to chinese mainland. Returns bool —