You are here

public function MobileNumber::isVerified in Mobile Number 7

Is the number already verified.

Return value

bool` TRUE if verified.

Overrides MobileNumberInterface::isVerified

1 call to MobileNumber::isVerified()
MobileNumber::toArray in src/MobileNumber.php
Converts object to an array.

File

src/MobileNumber.php, line 290

Class

MobileNumber
Class MobileNumber handles mobile number validation and verification.

Code

public function isVerified() {
  return !empty($_SESSION['mobile_number_verification'][$this->callableNumber]['verified']);
}