function IntValue::__construct

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

File

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

Class

IntValue
A class holding an int value.

Namespace

Drupal\Core\Database\SchemaDefinition

Code

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

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