You are here

public function ZoomApiWebhookEvent::__construct in Zoom API 8

Same name and namespace in other branches
  1. 2.0.x src/Event/ZoomApiWebhookEvent.php \Drupal\zoomapi\Event\ZoomApiWebhookEvent::__construct()

ZoomApiWebhookEvent constructor.

Parameters

string $event: The type of webhook incoming.

array $payload: The data posted.

\Symfony\Component\HttpFoundation\Request $request: The orignal request.

File

src/Event/ZoomApiWebhookEvent.php, line 46

Class

ZoomApiWebhookEvent
Class ZoomApiWebhookEvent.

Namespace

Drupal\zoomapi\Event

Code

public function __construct($event, array $payload, Request $request) {
  $this->event = $event;
  $this->payload = $payload;
  $this->request = $request;
}