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