public function ContainerBuilder::setDefinitions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::setDefinitions()
Sets the service definitions.
Parameters
Definition[] $definitions An array of service definitions:
File
- vendor/
symfony/ dependency-injection/ ContainerBuilder.php, line 731
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function setDefinitions(array $definitions) {
$this->definitions = array();
$this
->addDefinitions($definitions);
}