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

Breadcrumb

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

function Method::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Method.php \SebastianBergmann\CodeCoverage\Report\Xml\Method::__construct()
  2. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Method.php \Google\Protobuf\Method::__construct()
  3. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php \phpDocumentor\Reflection\DocBlock\Tags\Method::__construct()

Creates a method builder.

Parameters

string $name Name of the method:

File

vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php, line 27

Class

Method

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