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

Breadcrumb

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

function EnumCase::getNode

Returns the built enum case node.

Return value

Stmt\EnumCase The built constant node

Overrides Builder::getNode

File

vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php, line 78

Class

EnumCase

Namespace

PhpParser\Builder

Code

public function getNode() : PhpParser\Node {
    return new Stmt\EnumCase($this->name, $this->value, $this->attributeGroups, $this->attributes);
}

API Navigation

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