function UserFloodControl::garbageCollection
Cleans up expired flood events.
This method is called automatically on cron run.
Overrides FloodInterface::garbageCollection
File
- 
              core/modules/ user/ src/ UserFloodControl.php, line 94 
Class
- UserFloodControl
- User Flood Control service.
Namespace
Drupal\userCode
public function garbageCollection() {
  return $this->flood
    ->garbageCollection();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
