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

Breadcrumb

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

function Param::getNode

Returns the built parameter node.

Return value

Node\Param The built parameter node

Overrides Builder::getNode

File

vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php, line 165

Class

Param

Namespace

PhpParser\Builder

Code

public function getNode() : Node {
    return new Node\Param(new Node\Expr\Variable($this->name), $this->default, $this->type, $this->byRef, $this->variadic, [], $this->flags, $this->attributeGroups);
}

API Navigation

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