class FloatValue

A class holding a float value.

Hierarchy

  • class \Drupal\Core\Database\SchemaDefinition\FloatValue

Expanded class hierarchy of FloatValue

1 file declares its use of FloatValue
SchemaDefinitionTest.php in core/tests/Drupal/Tests/Core/Database/SchemaDefinitionTest.php

File

core/lib/Drupal/Core/Database/SchemaDefinition/FloatValue.php, line 10

Namespace

Drupal\Core\Database\SchemaDefinition
View source
class FloatValue {
  
  /**
   * Human readable name.
   */
  public readonly string $name;
  public function __construct(public readonly float $value) {
    $this->name = 'float';
  }

}

Members

Title Sort descending Modifiers Object type Summary
FloatValue::$name public property Human readable name.
FloatValue::__construct public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.