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

Breadcrumb

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

function Property::__construct

Same name in this branch
  1. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php \PhpParser\Node\Stmt\Property::__construct()
  2. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php \phpDocumentor\Reflection\DocBlock\Tags\Property::__construct()

Creates a property builder.

Parameters

string $name Name of the property:

File

vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php, line 34

Class

Property

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