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