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

Breadcrumb

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

function BuilderFactory::method

Creates a method builder.

Parameters

string $name Name of the method:

Return value

Builder\Method The created method builder

File

vendor/nikic/php-parser/lib/PhpParser/BuilderFactory.php, line 117

Class

BuilderFactory

Namespace

PhpParser

Code

public function method(string $name) : Builder\Method {
    return new Builder\Method($name);
}

API Navigation

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