You are here

public function UserFloodEvent::getUid in Drupal 9

Gets the uid of the user flood event object.

Return value

int The uid of the flood event.

File

core/modules/user/src/Event/UserFloodEvent.php, line 141

Class

UserFloodEvent
Provides a user flood event for event listeners.

Namespace

Drupal\user\Event

Code

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