private function ClassNotFoundFatalErrorHandler::classExists in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php \Symfony\Component\Debug\FatalErrorHandler\ClassNotFoundFatalErrorHandler::classExists()
Parameters
string $class:
Return value
bool
1 call to ClassNotFoundFatalErrorHandler::classExists()
- ClassNotFoundFatalErrorHandler::convertFileToClass in vendor/
symfony/ debug/ FatalErrorHandler/ ClassNotFoundFatalErrorHandler.php
File
- vendor/
symfony/ debug/ FatalErrorHandler/ ClassNotFoundFatalErrorHandler.php, line 208
Class
- ClassNotFoundFatalErrorHandler
- ErrorHandler for classes that do not exist.
Namespace
Symfony\Component\Debug\FatalErrorHandlerCode
private function classExists($class) {
return class_exists($class, false) || interface_exists($class, false) || function_exists('trait_exists') && trait_exists($class, false);
}