ContainerBuilder::hasDefinition()

bool hasDefinition(string $id) Returns true if a service definition exists under the given identifier. Parameters string $id The service identifier Return Value bool true if the service definition exists, false otherwise

ContainerBuilder::hasAlias()

bool hasAlias(string $id) Returns true if an alias exists under the given identifier. Parameters string $id The service identifier Return Value bool true if the alias exists, false otherwise

ContainerBuilder::has()

bool has(string $id) Returns true if the given service is defined. Parameters string $id The service identifier Return Value bool true if the service is defined, false otherwise

ContainerBuilder::getServiceIds()

array getServiceIds() Gets all service ids. Return Value array An array of all defined service ids

ContainerBuilder::getServiceConditionals()

static array getServiceConditionals(mixed $value) Returns the Service Conditionals. Parameters mixed $value An array of conditionals to return Return Value array An array of Service conditionals

ContainerBuilder::getResources()

ResourceInterface[] getResources() Returns an array of resources loaded to build this configuration. Return Value ResourceInterface[] An array of resources

ContainerBuilder::getExtensions()

ExtensionInterface[] getExtensions() Returns all registered extensions. Return Value ExtensionInterface[] An array of ExtensionInterface

ContainerBuilder::getExtensionConfig()

array getExtensionConfig(string $name) Returns the configuration array for the given extension. Parameters string $name The name of the extension Return Value array An array of configuration

ContainerBuilder::getExtension()

ExtensionInterface getExtension(string $name) Returns an extension by alias or namespace. Parameters string $name An alias or a namespace Return Value ExtensionInterface An extension instance Exceptions LogicException if the extension is not registered

ContainerBuilder::getExpressionLanguageProviders()

ExpressionFunctionProviderInterface[] getExpressionLanguageProviders() Return Value ExpressionFunctionProviderInterface[]