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

Breadcrumb

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

class Constant

Same name in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Resource/Detectors/Constant.php \OpenTelemetry\SDK\Resource\Detectors\Constant

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@psalm-immutable

Hierarchy

  • class \PHPUnit\TextUI\Configuration\Constant

Expanded class hierarchy of Constant

1 file declares its use of Constant
Loader.php in vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Loader.php
8 string references to 'Constant'
CoreExtension::getFunctions in vendor/twig/twig/src/Extension/CoreExtension.php
Returns a list of functions to add to the existing list.
CoreExtension::getTests in vendor/twig/twig/src/Extension/CoreExtension.php
Returns a list of tests to add to the existing list.
DefinedTest::__construct in vendor/twig/twig/src/Node/Expression/Test/DefinedTest.php
FullyQualifiedClassNameInAnnotationSniff::process in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Namespaces/FullyQualifiedClassNameInAnnotationSniff.php
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
FunctionExpression::compile in vendor/twig/twig/src/Node/Expression/FunctionExpression.php

... See full list

File

vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Constant.php, line 17

Namespace

PHPUnit\TextUI\Configuration
View source
final class Constant {
    private readonly string $name;
    private readonly bool|string $value;
    public function __construct(string $name, bool|string $value) {
        $this->name = $name;
        $this->value = $value;
    }
    public function name() : string {
        return $this->name;
    }
    public function value() : bool|string {
        return $this->value;
    }

}

Members

Title Sort descending Modifiers Object type Summary
Constant::$name private property
Constant::$value private property
Constant::name public function
Constant::value public function
Constant::__construct public function

API Navigation

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