Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Int_.php

function Int_::__construct

Constructs an integer number scalar node.

Parameters

int $value Value of the number:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/Int_.php, line 24

Class

Int_

Namespace

PhpParser\Node\Scalar

Code

public function __construct(int $value, array $attributes = []) {
    $this->attributes = $attributes;
    $this->value = $value;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal