public function ContainerBuilder::getDefinitions in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::getDefinitions()
Gets all service definitions.
@api
Return value
Definition[] An array of Definition instances
4 calls to ContainerBuilder::getDefinitions()
- ContainerBuilder::findTaggedServiceIds in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php - Returns service ids for a given tag.
- ContainerBuilder::findTags in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php - Returns all tags the defined services use.
- ContainerBuilder::getServiceIds in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php - Gets all service ids.
- ContainerBuilder::synchronize in lib/
Drupal/ Core/ DependencyInjection/ ContainerBuilder.php - Synchronizes a service change.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php, line 808
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function getDefinitions() {
return $this->definitions;
}