function ContainerBuilder::hasDefinition
Returns true if a service definition exists under the given identifier.
1 call to ContainerBuilder::hasDefinition()
- ContainerBuilder::removeBindings in vendor/
symfony/ dependency-injection/ ContainerBuilder.php - Removes bindings for a service.
File
-
vendor/
symfony/ dependency-injection/ ContainerBuilder.php, line 1029
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function hasDefinition(string $id) : bool {
return isset($this->definitions[$id]);
}