You are here

public function Event::location in MongoDB 8.2

Type-safe getter for location.

Return value

string The location property, always as a string, never NULL.

File

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

Class

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

Namespace

Drupal\mongodb_watchdog

Code

public function location() : string {
  return (string) $this->location ?? '';
}