You are here

public function VerifyPhoneNumberForm::__construct in SMS Framework 8

Constructs a VerifyPhoneNumberForm object.

Parameters

\Drupal\Core\Flood\FloodInterface $flood: The flood control mechanism.

\Drupal\sms\Provider\PhoneNumberVerificationInterface $phone_number_verification: The phone number verification service.

File

src/Form/VerifyPhoneNumberForm.php, line 38

Class

VerifyPhoneNumberForm
Form to accept a verification code.

Namespace

Drupal\sms\Form

Code

public function __construct(FloodInterface $flood, PhoneNumberVerificationInterface $phone_number_verification) {
  $this->flood = $flood;
  $this->phoneNumberVerification = $phone_number_verification;
}