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

Breadcrumb

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

function BuilderFactory::interface

Creates an interface builder.

Parameters

string $name Name of the interface:

Return value

Builder\Interface_ The created interface builder

File

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

Class

BuilderFactory

Namespace

PhpParser

Code

public function interface(string $name) : Builder\Interface_ {
    return new Builder\Interface_($name);
}

API Navigation

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