NullValue.php
Same filename and directory in other branches
Namespace
Drupal\Core\Database\SchemaDefinitionFile
-
core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ NullValue.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Core\Database\SchemaDefinition;
/**
* A class holding a null value.
*/
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;
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| NullValue | A class holding a null value. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.