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

Breadcrumb

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

function NodeAbstract::__construct

Creates a Node.

Parameters

array<string, mixed> $attributes Array of attributes:

17 methods override NodeAbstract::__construct()
Arg::__construct in vendor/nikic/php-parser/lib/PhpParser/Node/Arg.php
Constructs a function call argument node.
ArrayItem::__construct in vendor/nikic/php-parser/lib/PhpParser/Node/ArrayItem.php
Constructs an array item node.
Attribute::__construct in vendor/nikic/php-parser/lib/PhpParser/Node/Attribute.php
AttributeGroup::__construct in vendor/nikic/php-parser/lib/PhpParser/Node/AttributeGroup.php
ClosureUse::__construct in vendor/nikic/php-parser/lib/PhpParser/Node/ClosureUse.php
Constructs a closure use node.

... See full list

File

vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php, line 14

Class

NodeAbstract

Namespace

PhpParser

Code

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

API Navigation

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