Skip to content

Commit e3929d8

Browse files
author
Pascal Montoya
committed
Disable autoloader call on interface_exists check
1 parent cd33c96 commit e3929d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mapping/Factory/LazyLoadingMetadataFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getMetadataFor($value)
9090
return $this->loadedClasses[$class];
9191
}
9292

93-
if (!class_exists($class) && !interface_exists($class)) {
93+
if (!class_exists($class) && !interface_exists($class, false)) {
9494
throw new NoSuchMetadataException(sprintf('The class or interface "%s" does not exist.', $class));
9595
}
9696

0 commit comments

Comments
 (0)