private function assertClassIsInstantiable(ObjectDefinition $definition) { if (!$definition->isInstantiable()) { throw DefinitionException::create($definition, sprintf('Entry "%s" cannot be resolved: the class is not instantiable', $definition->getName())); } }
private function assertClassIsInstantiable(ObjectDefinition $definition) { if (!$definition->isInstantiable()) { throw DefinitionException::create($definition, sprintf("Entry %s cannot be resolved: class %s is not instantiable", $definition->getName(), $definition->getClassName())); } }