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

Breadcrumb

  1. Drupal Core 11.1.x

ConfigTrait.php

Namespace

OpenTelemetry\SDK\Common\InstrumentationScope

File

vendor/open-telemetry/sdk/Common/InstrumentationScope/ConfigTrait.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Common\InstrumentationScope;

trait ConfigTrait {
    private bool $disabled = false;
    public function setDisabled(bool $disabled) : void {
        $this->disabled = $disabled;
    }
    public function isEnabled() : bool {
        return $this->disabled === false;
    }

}

Traits

Title Deprecated Summary
ConfigTrait

API Navigation

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