You are here

public function SmsEntityPhoneNumberProcessor::__construct in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/SmsEntityPhoneNumberProcessor.php \Drupal\sms\EventSubscriber\SmsEntityPhoneNumberProcessor::__construct()
  2. 2.1.x src/EventSubscriber/SmsEntityPhoneNumberProcessor.php \Drupal\sms\EventSubscriber\SmsEntityPhoneNumberProcessor::__construct()

Constructs a new SmsEntityPhoneNumberProcessor object.

Parameters

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

File

src/EventSubscriber/SmsEntityPhoneNumberProcessor.php, line 29

Class

SmsEntityPhoneNumberProcessor
Resolve phone numbers for an entity using phone verification system.

Namespace

Drupal\sms\EventSubscriber

Code

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