IntValue.php

Same filename and directory in other branches
  1. 11.x core/lib/Drupal/Core/Database/SchemaDefinition/IntValue.php

Namespace

Drupal\Core\Database\SchemaDefinition

File

core/lib/Drupal/Core/Database/SchemaDefinition/IntValue.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Database\SchemaDefinition;


/**
 * A class holding an int value.
 */
class IntValue {
  
  /**
   * Human readable name.
   */
  public readonly string $name;
  public function __construct(public readonly int $value) {
    $this->name = 'int';
  }

}

Classes

Title Deprecated Summary
IntValue A class holding an int value.

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