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

Breadcrumb

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

function Include_::__construct

Constructs an include node.

Parameters

Expr $expr Expression:

int $type Type of include:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php, line 25

Class

Include_

Namespace

PhpParser\Node\Expr

Code

public function __construct(Expr $expr, int $type, array $attributes = []) {
    $this->attributes = $attributes;
    $this->expr = $expr;
    $this->type = $type;
}
RSS feed
Powered by Drupal