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

Breadcrumb

  1. Drupal Core 11.1.x

ClockInterface.php

Same filename in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Common/Time/ClockInterface.php

Namespace

OpenTelemetry\API\Common\Time

File

vendor/open-telemetry/api/Common/Time/ClockInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Common\Time;

interface ClockInterface {
    public const NANOS_PER_SECOND = 1000000000;
    public const NANOS_PER_MILLISECOND = 1000000;
    public const NANOS_PER_MICROSECOND = 1000;
    
    /**
     * Returns the current epoch wall-clock timestamp in nanoseconds
     */
    public function now() : int;

}

Interfaces

Title Deprecated Summary
ClockInterface

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal