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

Breadcrumb

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

function BuilderFactory::namespace

Creates a namespace builder.

Parameters

null|string|Node\Name $name Name of the namespace:

Return value

Builder\Namespace_ The created namespace builder

File

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

Class

BuilderFactory

Namespace

PhpParser

Code

public function namespace($name) : Builder\Namespace_ {
    return new Builder\Namespace_($name);
}

API Navigation

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