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

Breadcrumb

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

function InterpolatedString::__construct

Constructs an interpolated string node.

Parameters

(Expr|InterpolatedStringPart)[] $parts Interpolated string parts:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/InterpolatedString.php, line 19

Class

InterpolatedString

Namespace

PhpParser\Node\Scalar

Code

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

API Navigation

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