StringValue.php
Namespace
Drupal\Core\Database\SchemaDefinitionFile
-
core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ StringValue.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Core\Database\SchemaDefinition;
/**
* A class holding a string value.
*/
class StringValue {
/**
* Human readable name.
*/
public readonly string $name;
public function __construct(public readonly string $value) {
$this->name = 'string';
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| StringValue | A class holding a string value. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.