You are here

public function EventTemplate::__construct in MongoDB 8.2

EventTemplate constructor.

Parameters

array $data: The raw properties.

File

modules/mongodb_watchdog/src/EventTemplate.php, line 78

Class

EventTemplate
Class EventTemplate models an event template.

Namespace

Drupal\mongodb_watchdog

Code

public function __construct(array $data) {
  $this
    ->bsonUnserialize($data);
}