classExists() public method

public classExists ( ) : boolean
return boolean
Esempio n. 1
0
 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()));
     }
 }
Esempio n. 2
0
 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()));
     }
 }