Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EventDriver.php

function EventDriver::now

Overrides AbstractDriver::now

1 call to EventDriver::now()
EventDriver::activate in vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php
Activates (enables) all the given callbacks.

File

vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php, line 151

Class

EventDriver

Namespace

Revolt\EventLoop\Driver

Code

protected function now() : float {
    return (double) \hrtime(true) / 1000000000;
}
RSS feed
Powered by Drupal