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

Breadcrumb

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

function Enum_::__construct

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

Creates an enum builder.

Parameters

string $name Name of the enum:

File

vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php, line 33

Class

Enum_

Namespace

PhpParser\Builder

Code

public function __construct(string $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