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

Breadcrumb

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

function TraitUse::getNode

Returns the built node.

Return value

Node The built node

Overrides Builder::getNode

File

vendor/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php, line 62

Class

TraitUse

Namespace

PhpParser\Builder

Code

public function getNode() : Node {
    return new Stmt\TraitUse($this->traits, $this->adaptations);
}

API Navigation

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