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

Breadcrumb

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

function ConstFetch::__construct

Constructs a const fetch node.

Parameters

Name $name Constant name:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ConstFetch.php, line 18

Class

ConstFetch

Namespace

PhpParser\Node\Expr

Code

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

API Navigation

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