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

Breadcrumb

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

function Float_::__construct

Constructs a float number scalar node.

Parameters

float $value Value of the number:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/Float_.php, line 17

Class

Float_

Namespace

PhpParser\Node\Scalar

Code

public function __construct(float $value, array $attributes = []) {
    $this->attributes = $attributes;
    $this->value = $value;
}
RSS feed
Powered by Drupal