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

Breadcrumb

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

function FixedTimeProvider::setSec

Sets the `sec` component of the time

Parameters

int|string|IntegerObject $value The `sec` value to set:

File

vendor/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php, line 48

Class

FixedTimeProvider
FixedTimeProvider uses a known time to provide the time

Namespace

Ramsey\Uuid\Provider\Time

Code

public function setSec($value) : void {
    $this->time = new Time($value, $this->time
        ->getMicroseconds());
}

API Navigation

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