class Variable
Same name in this branch
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php \PhpParser\Node\Expr\Variable
- 11.1.x vendor/symfony/dependency-injection/Variable.php \Symfony\Component\DependencyInjection\Variable
- 11.1.x core/lib/Drupal/Component/Utility/Variable.php \Drupal\Component\Utility\Variable
- 11.1.x core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@psalm-immutable
Hierarchy
- class \PHPUnit\TextUI\Configuration\Variable
Expanded class hierarchy of Variable
1 file declares its use of Variable
- Loader.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Loader.php
48 string references to 'Variable'
- action_settings.yml in core/
modules/ system/ migrations/ action_settings.yml - core/modules/system/migrations/action_settings.yml
- d6_dblog_settings.yml in core/
modules/ dblog/ migrations/ d6_dblog_settings.yml - core/modules/dblog/migrations/d6_dblog_settings.yml
- d6_language_negotiation_settings.yml in core/
modules/ language/ migrations/ d6_language_negotiation_settings.yml - core/modules/language/migrations/d6_language_negotiation_settings.yml
- d6_language_types.yml in core/
modules/ language/ migrations/ d6_language_types.yml - core/modules/language/migrations/d6_language_types.yml
- d6_node_settings.yml in core/
modules/ node/ migrations/ d6_node_settings.yml - core/modules/node/migrations/d6_node_settings.yml
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Value/ Variable.php, line 17
Namespace
PHPUnit\TextUI\ConfigurationView source
final class Variable {
private readonly string $name;
private readonly mixed $value;
private readonly bool $force;
public function __construct(string $name, mixed $value, bool $force) {
$this->name = $name;
$this->value = $value;
$this->force = $force;
}
public function name() : string {
return $this->name;
}
public function value() : mixed {
return $this->value;
}
public function force() : bool {
return $this->force;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Variable::$force | private | property | |
Variable::$name | private | property | |
Variable::$value | private | property | |
Variable::force | public | function | |
Variable::name | public | function | |
Variable::value | public | function | |
Variable::__construct | public | function |