class Constant
Same name in this branch
- 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
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Value/ Constant.php, line 17
Namespace
PHPUnit\TextUI\ConfigurationView 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 |