interface ContainerBuilderInterface in Service Container 7.2
Same name and namespace in other branches
- 7 src/DependencyInjection/ContainerBuilderInterface.php \Drupal\service_container\DependencyInjection\ContainerBuilderInterface
Interface to build container objects.
Hierarchy
- interface \Drupal\service_container\DependencyInjection\ContainerBuilderInterface
Expanded class hierarchy of ContainerBuilderInterface
All classes that implement ContainerBuilderInterface
File
- src/
DependencyInjection/ ContainerBuilderInterface.php, line 15 - Contains \Drupal\service_container\DependencyInjection\ContainerBuilderInterface
Namespace
Drupal\service_container\DependencyInjectionView source
interface ContainerBuilderInterface {
/**
* Returns the fully build container definition.
*
* @return array
* An associative array with the following keys:
* - parameters: The parameters of the container, simple k/v
* - services: The services of the container.
*
* @see \Drupal\service_container\DependencyInjection\ServiceProviderInterface
*/
public function getContainerDefinition();
/**
* Compiles the container builder to a new container.
*
* @return \Drupal\service_container\DependencyInjection\ContainerInterface
* The newly constructed container.
*/
public function compile();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerBuilderInterface:: |
public | function | Compiles the container builder to a new container. | 1 |
ContainerBuilderInterface:: |
public | function | Returns the fully build container definition. | 1 |