private function assertClassExists(ObjectDefinition $definition) { if (!$definition->classExists()) { throw DefinitionException::create($definition, sprintf('Entry "%s" cannot be resolved: the class doesn\'t exist', $definition->getName())); } }
private function assertClassExists(ObjectDefinition $definition) { if (!$definition->classExists()) { throw DefinitionException::create($definition, sprintf("Entry %s cannot be resolved: class %s doesn't exist", $definition->getName(), $definition->getClassName())); } }