You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However,
tracing through these calls through to the ReferenceRepository, both will eventually call ObjectManager->getClassMetadata which will require the classes namespace to be configure in the ORM EntityManager, otherwise throwing an error.
So attempting to store an stdClass will throw an error similar to: The class 'stdClass' was not found in the chain configured namespaces App\Entity.
Either Documentation needs to be corrected or the behavior needs to be corrected.
The text was updated successfully, but these errors were encountered:
Symfony Documentation suggests Fixtures can share any PHP object between each other using the addReference and getReference methods. https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html#sharing-objects-between-fixtures
However,
tracing through these calls through to the ReferenceRepository, both will eventually call ObjectManager->getClassMetadata which will require the classes namespace to be configure in the ORM EntityManager, otherwise throwing an error.
So attempting to store an stdClass will throw an error similar to: The class 'stdClass' was not found in the chain configured namespaces App\Entity.
Either Documentation needs to be corrected or the behavior needs to be corrected.
The text was updated successfully, but these errors were encountered: