Compiles the container.
This method does two things:
- Parameter values are resolved;
- The parameter bag is frozen.
@api
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php, line 109
Class
- Container
- Container is a dependency injection container.
Namespace
Symfony\Component\DependencyInjection
Code
public function compile() {
$this->parameterBag
->resolve();
$this->parameterBag = new FrozenParameterBag($this->parameterBag
->all());
}