Skip to content

Commit 1f87e0c

Browse files
committed
[PropertyInfo] Inject the entity manager instead of the class metadata factory
1 parent 8a88478 commit 1f87e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/property_info.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ with the ``property_info`` service in the Symfony Framework.
455455
'driver' => 'pdo_sqlite',
456456
// ...
457457
], $config);
458-
$doctrineExtractor = new DoctrineExtractor($entityManager->getMetadataFactory());
458+
$doctrineExtractor = new DoctrineExtractor($entityManager);
459459
460460
// List information.
461461
$doctrineExtractor->getProperties($class);

0 commit comments

Comments
 (0)