You are here

public static function StripeWebhookController::create in Stripe 8

Same name and namespace in other branches
  1. 2.x src/Controller/StripeWebhookController.php \Drupal\stripe\Controller\StripeWebhookController::create()

When this controller is created, it will get the di_example.talk service and store it.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

Return value

static

Overrides ControllerBase::create

File

src/Controller/StripeWebhookController.php, line 48

Class

StripeWebhookController
Controller routines for book routes.

Namespace

Drupal\stripe\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('event_dispatcher'));
}