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

Breadcrumb

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

function Duration::initOnce

1 call to Duration::initOnce()
Duration::__construct in vendor/google/protobuf/src/Google/Protobuf/Duration.php
Constructor.

File

vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php, line 11

Class

Duration

Namespace

GPBMetadata\Google\Protobuf

Code

public static function initOnce() {
    $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
    if (static::$is_initialized == true) {
        return;
    }
    $pool->internalAddGeneratedFile('
�
google/protobuf/duration.protogoogle.protobuf"*
Duration
seconds (
nanos (B�
com.google.protobufB
DurationProtoPZ1google.golang.org/protobuf/types/known/durationpb��GPB�Google.Protobuf.WellKnownTypesbproto3', true);
    static::$is_initialized = true;
}

API Navigation

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