public function Event::__construct in MongoDB 8.2
Constructor.
Parameters
array $event: The event in array form.
File
- modules/
mongodb_watchdog/ src/ Event.php, line 147
Class
- Event
- Class Event is a value object for a logged event.
Namespace
Drupal\mongodb_watchdogCode
public function __construct(array $event) {
$this
->bsonUnserialize($event);
}