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

Breadcrumb

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

function Use_::getNode

Returns the built node.

Return value

Stmt\Use_ The built node

Overrides Builder::getNode

File

vendor/nikic/php-parser/lib/PhpParser/Builder/Use_.php, line 44

Class

Use_

Namespace

PhpParser\Builder

Code

public function getNode() : Node {
    return new Stmt\Use_([
        new Node\UseItem($this->name, $this->alias),
    ], $this->type);
}

API Navigation

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