Skip to content

Commit a60cc0d

Browse files
committed
LeanMapperExtractor: try load only accepted classes
1 parent 9d239bf commit a60cc0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Extractors/LeanMapperExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ protected function findEntities()
414414

415415
$entityClass = $class->getName();
416416

417-
if (!class_exists($entityClass)) {
417+
if ($accept && !class_exists($entityClass)) {
418418
$class->loadFile();
419419
}
420420

0 commit comments

Comments
 (0)