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

Breadcrumb

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

function FuncCall::__construct

Constructs a function call node.

Parameters

Node\Name|Expr $name Function name:

array<Node\Arg|Node\VariadicPlaceholder> $args Arguments:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php, line 21

Class

FuncCall

Namespace

PhpParser\Node\Expr

Code

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

API Navigation

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