public function StripeWebhookController::__construct in Stripe 8
Same name and namespace in other branches
- 2.x src/Controller/StripeWebhookController.php \Drupal\stripe\Controller\StripeWebhookController::__construct()
Creates a new instance.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.
File
- src/
Controller/ StripeWebhookController.php, line 35
Class
- StripeWebhookController
- Controller routines for book routes.
Namespace
Drupal\stripe\ControllerCode
public function __construct(EventDispatcherInterface $event_dispatcher) {
$this->eventDispatcher = $event_dispatcher;
}