class IntValue

A class holding an int value.

Hierarchy

  • class \Drupal\Core\Database\SchemaDefinition\IntValue

Expanded class hierarchy of IntValue

4 files declare their use of IntValue
database.api.php in core/lib/Drupal/Core/Database/database.api.php
Hooks related to the Database system and the Schema API.
locale.install in core/modules/locale/locale.install
Install, update, and uninstall functions for the Locale module.
SchemaDefinitionConversionTest.php in core/tests/Drupal/Tests/Core/Database/SchemaDefinitionConversionTest.php
SchemaDefinitionTest.php in core/tests/Drupal/Tests/Core/Database/SchemaDefinitionTest.php

File

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

Namespace

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

}

Members

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

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