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

Breadcrumb

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

class Resource

Same name in this branch
  1. 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php \Opentelemetry\Proto\Resource\V1\Resource
  2. 11.1.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource

Hierarchy

  • class \GPBMetadata\Opentelemetry\Proto\Resource\V1\Resource

Expanded class hierarchy of Resource

21 string references to 'Resource'
Assert::valueToString in vendor/webmozart/assert/src/Assert.php
AssertTypeSpecifyingExtensionHelper::getExpressionResolvers in vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertTypeSpecifyingExtensionHelper.php
*
ConstraintValidator::formatValue in vendor/symfony/validator/ConstraintValidator.php
Returns a string representation of the value.
CutStub::__construct in vendor/symfony/var-dumper/Caster/CutStub.php
DebugClassLoader::setReturnType in vendor/symfony/error-handler/DebugClassLoader.php

... See full list

File

vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php, line 7

Namespace

GPBMetadata\Opentelemetry\Proto\Resource\V1
View source
class Resource {
    public static $is_initialized = false;
    public static function initOnce() {
        $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
        if (static::$is_initialized == true) {
            return;
        }
        \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
        $pool->internalAddGeneratedFile('
�
.opentelemetry/proto/resource/v1/resource.protoopentelemetry.proto.resource.v1"i
Resource;

attributes (2\'.opentelemetry.proto.common.v1.KeyValue 
dropped_attributes_count (
B�
"io.opentelemetry.proto.resource.v1B
ResourceProtoPZ*go.opentelemetry.io/proto/otlp/resource/v1�OpenTelemetry.Proto.Resource.V1bproto3', true);
        static::$is_initialized = true;
    }

}

Members

Title Sort descending Modifiers Object type Summary
Resource::$is_initialized public static property
Resource::initOnce public static function
RSS feed
Powered by Drupal