public function DefaultSmsProvider::__construct in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Provider/DefaultSmsProvider.php \Drupal\sms\Provider\DefaultSmsProvider::__construct()
- 2.1.x src/Provider/DefaultSmsProvider.php \Drupal\sms\Provider\DefaultSmsProvider::__construct()
Creates a new instance of the default SMS provider.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.
File
- src/
Provider/ DefaultSmsProvider.php, line 38
Class
- DefaultSmsProvider
- The SMS provider that provides default messaging functionality.
Namespace
Drupal\sms\ProviderCode
public function __construct(EventDispatcherInterface $event_dispatcher) {
$this->eventDispatcher = $event_dispatcher;
}