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

Breadcrumb

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

interface TimeProviderInterface

A time provider retrieves the current time

Hierarchy

  • interface \Ramsey\Uuid\Provider\TimeProviderInterface

Expanded class hierarchy of TimeProviderInterface

All classes that implement TimeProviderInterface

5 files declare their use of TimeProviderInterface
DefaultTimeGenerator.php in vendor/ramsey/uuid/src/Generator/DefaultTimeGenerator.php
FeatureSet.php in vendor/ramsey/uuid/src/FeatureSet.php
FixedTimeProvider.php in vendor/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php
SystemTimeProvider.php in vendor/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php
TimeGeneratorFactory.php in vendor/ramsey/uuid/src/Generator/TimeGeneratorFactory.php

File

vendor/ramsey/uuid/src/Provider/TimeProviderInterface.php, line 22

Namespace

Ramsey\Uuid\Provider
View source
interface TimeProviderInterface {
    
    /**
     * Returns a time object
     */
    public function getTime() : Time;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
TimeProviderInterface::getTime public function Returns a time object 2
RSS feed
Powered by Drupal