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

Breadcrumb

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

function Bundle::getName

Returns the bundle name (the class short name).

Overrides BundleInterface::getName

3 calls to Bundle::getName()
AbstractBundle::getContainerExtension in vendor/symfony/http-kernel/Bundle/AbstractBundle.php
Returns the bundle's container extension.
Bundle::getContainerExtension in vendor/symfony/http-kernel/Bundle/Bundle.php
Returns the bundle's container extension.
Bundle::getContainerExtensionClass in vendor/symfony/http-kernel/Bundle/Bundle.php
Returns the bundle's container extension class.

File

vendor/symfony/http-kernel/Bundle/Bundle.php, line 112

Class

Bundle
An implementation of BundleInterface that adds a few conventions for DependencyInjection extensions.

Namespace

Symfony\Component\HttpKernel\Bundle

Code

public final function getName() : string {
    if (!isset($this->name)) {
        $this->parseClassName();
    }
    return $this->name;
}

API Navigation

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