Skip to content

Commit

Permalink
LeanMapperExtractor: try load only accepted classes
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed May 10, 2021
1 parent 9d239bf commit a60cc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extractors/LeanMapperExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ protected function findEntities()

$entityClass = $class->getName();

if (!class_exists($entityClass)) {
if ($accept && !class_exists($entityClass)) {
$class->loadFile();
}

Expand Down

0 comments on commit a60cc0d

Please sign in to comment.