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

Breadcrumb

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

function InterpolatedStringPart::__construct

Constructs a node representing a string part of an interpolated string.

Parameters

string $value String value:

array<string, mixed> $attributes Additional attributes:

Overrides NodeAbstract::__construct

File

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

Class

InterpolatedStringPart

Namespace

PhpParser\Node

Code

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