public static function MobileNumberInterface::codeHash in Mobile Number 7
Generate hash given token and code.
Parameters
string $token: Token.
string $code: Verification code.
string $number: Phone number.
Return value
string Hash string.
1 method overrides MobileNumberInterface::codeHash()
- MobileNumber::codeHash in src/
MobileNumber.php - Generate hash given token and code.
File
- src/
MobileNumberInterface.php, line 142 - MobileNumberInterface.
Class
- MobileNumberInterface
- Provides an interface for defining mobile numbers.
Code
public static function codeHash($token, $code, $number);