Expanded class hierarchy of TestBundle
class TestBundle extends Bundle {
/**
* @var \Drupal\simpletest\TestBase;
*/
public static $currentTest;
/**
* Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build().
*/
function build(ContainerBuilder $container) {
if (static::$currentTest && method_exists(static::$currentTest, 'containerBuild')) {
static::$currentTest
->containerBuild($container);
}
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Bundle:: |
protected | property | ||
Bundle:: |
protected | property | ||
Bundle:: |
protected | property | ||
Bundle:: |
public | function |
Boots the Bundle. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Returns the bundle's container extension. Overrides BundleInterface:: |
|
Bundle:: |
final public | function |
Returns the bundle name (the class short name). Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Gets the Bundle namespace. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Returns the bundle parent name. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Gets the Bundle directory path. Overrides BundleInterface:: |
|
Bundle:: |
public | function | Finds and registers Commands. | |
Bundle:: |
public | function |
Shutdowns the Bundle. Overrides BundleInterface:: |
|
ContainerAware:: |
protected | property | @api | |
ContainerAware:: |
public | function |
Sets the Container associated with this Controller. Overrides ContainerAwareInterface:: |
|
TestBundle:: |
public static | property | ||
TestBundle:: |
function |
Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build(). Overrides Bundle:: |