diff --git a/components/property_info.rst b/components/property_info.rst index 0b240497dc5..c4787e32028 100644 --- a/components/property_info.rst +++ b/components/property_info.rst @@ -455,13 +455,18 @@ with the ``property_info`` service in the Symfony Framework. 'driver' => 'pdo_sqlite', // ... ], $config); - $doctrineExtractor = new DoctrineExtractor($entityManager->getMetadataFactory()); + $doctrineExtractor = new DoctrineExtractor($entityManager); // List information. $doctrineExtractor->getProperties($class); // Type information. $doctrineExtractor->getTypes($class, $property); +.. versionadded:: 4.2 + The option to pass Doctrine's EntityManager to ``DoctrineExtractor`` was + introduced in Symfony 4.2. Previously you needed to pass the class metadata + factory associated to the EntityManager. + .. _`components-property-information-extractors-creation`: Creating Your Own Extractors pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy