You are here

public function Event::uid in MongoDB 8.2

Type-safe getter for uid.

Return value

int The uid property, always as an int, never NULL.

File

modules/mongodb_watchdog/src/Event.php, line 178

Class

Event
Class Event is a value object for a logged event.

Namespace

Drupal\mongodb_watchdog

Code

public function uid() : int {
  return (int) $this->uid;
}