You are here

public function ZoomApiWebhookEvent::__construct in Zoom API 2.0.x

Same name and namespace in other branches
  1. 8 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;
}