function FloatValue::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/SchemaDefinition/FloatValue.php \Drupal\Core\Database\SchemaDefinition\FloatValue::__construct()

File

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

Class

FloatValue
A class holding a float value.

Namespace

Drupal\Core\Database\SchemaDefinition

Code

public function __construct(public readonly float $value) {
  $this->name = 'float';
}

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