Implements Drupal\Core\Flood\FloodInterface::register().
Overrides FloodInterface::register
public function register($name, $window = 3600, $identifier = NULL) {
if (!isset($identifier)) {
$identifier = ip_address();
}
// We can't use REQUEST_TIME here, because that would not guarantee
// uniqueness.
$time = microtime(true);
$this->events[$name][$identifier][$time + $window] = $time;
}