class NullValue
A class holding a null value.
Hierarchy
- class \Drupal\Core\Database\SchemaDefinition\NullValue
Expanded class hierarchy of NullValue
2 files declare their use of NullValue
- SchemaDefinitionConversionTest.php in core/
tests/ Drupal/ Tests/ Core/ Database/ SchemaDefinitionConversionTest.php - SchemaDefinitionTest.php in core/
tests/ Drupal/ Tests/ Core/ Database/ SchemaDefinitionTest.php
File
-
core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ NullValue.php, line 10
Namespace
Drupal\Core\Database\SchemaDefinitionView source
class NullValue {
/**
* Human readable name.
*/
public readonly string $name;
/**
* A null value.
*
* @var null
*/
public readonly null $value;
public function __construct() {
$this->name = 'null';
$this->value = NULL;
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| NullValue::$name | public | property | Human readable name. |
| NullValue::$value | public | property | A null value. |
| NullValue::__construct | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.