function Container::getServiceIds
Gets all defined service IDs.
Return value
array An array of all defined service IDs.
Overrides ContainerInterface::getServiceIds
File
-
core/
lib/ Drupal/ Component/ DependencyInjection/ Container.php, line 551
Class
- Container
- Provides a container optimized for Drupal's needs.
Namespace
Drupal\Component\DependencyInjectionCode
public function getServiceIds() {
return array_merge([
'service_container',
], array_keys($this->serviceDefinitions + $this->services));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.