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

Breadcrumb

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

function EnumCase::__construct

Same name in this branch
  1. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/EnumCase.php \PhpParser\Node\Stmt\EnumCase::__construct()

Creates an enum case builder.

Parameters

string|Identifier $name Name:

File

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

Class

EnumCase

Namespace

PhpParser\Builder

Code

public function __construct($name) {
    $this->name = $name;
}

API Navigation

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