You are here

public function ContainerBuilder::getServiceIds in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::getServiceIds()

Gets all service ids.

Return value

array An array of all defined service ids

File

vendor/symfony/dependency-injection/ContainerBuilder.php, line 590

Class

ContainerBuilder
ContainerBuilder is a DI container that provides an API to easily describe services.

Namespace

Symfony\Component\DependencyInjection

Code

public function getServiceIds() {
  return array_unique(array_merge(array_keys($this
    ->getDefinitions()), array_keys($this->aliasDefinitions), parent::getServiceIds()));
}