function 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.