public function MobileNumberInterface::checkFlood in Mobile Number 7
Checks whether there were too many verifications attempted with the current number.
Parameters
string $type: Type of flood check, can be either 'sms' or 'verification'.
Return value
bool FALSE for too many attempts on this mobile number, TRUE otherwise.
1 method overrides MobileNumberInterface::checkFlood()
- MobileNumber::checkFlood in src/
MobileNumber.php - Checks whether there were too many verifications attempted with the current number.
File
- src/
MobileNumberInterface.php, line 46 - MobileNumberInterface.
Class
- MobileNumberInterface
- Provides an interface for defining mobile numbers.
Code
public function checkFlood($type = 'verification');