Documentation

Phone
in package

Phone class.

Table of Contents

getDetails()  : array<string|int, mixed>|bool
Get phone details.
verifyNumber()  : bool
Verify phone number.

Methods

getDetails()

Get phone details.

public static getDetails(string $phoneNumber[, string|null $phoneCountry = null ]) : array<string|int, mixed>|bool
Parameters
$phoneNumber : string
$phoneCountry : string|null = null
Return values
array<string|int, mixed>|bool

verifyNumber()

Verify phone number.

public static verifyNumber(string $phoneNumber, string|null $phoneCountry) : bool
Parameters
$phoneNumber : string
$phoneCountry : string|null
Tags
throws
FieldException
Return values
bool

        

Search results