public function Container::compile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Container.php \Symfony\Component\DependencyInjection\Container::compile()
Compiles the container.
This method does two things:
- Parameter values are resolved;
- The parameter bag is frozen.
File
- vendor/
symfony/ dependency-injection/ Container.php, line 97
Class
- Container
- Container is a dependency injection container.
Namespace
Symfony\Component\DependencyInjectionCode
public function compile() {
$this->parameterBag
->resolve();
$this->parameterBag = new FrozenParameterBag($this->parameterBag
->all());
}