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
I know that this one does not exist in reality, but i would like to have a fixture loader where i have got access to both managers (PHPCR, ORM).
We should keep the common interface of the loader (build(ObjectManager $manager)) and just add a setter for the second one. As our testing component creates them we should be able to inject the second manager.
Yea ... My DoctrineAdapter still supports a solution to create the referenced document by default just by setting:
I know that this one does not exist in reality, but i would like to have a fixture loader where i have got access to both managers (PHPCR, ORM).
We should keep the common interface of the loader (
build(ObjectManager $manager)
) and just add a setter for the second one. As our testing component creates them we should be able to inject the second manager.Yea ... My DoctrineAdapter still supports a solution to create the referenced document by default just by setting:
(other way around works too)
what means that i won't need the second manager, but there are use cases when i need it:
NodeHelper
But that leads my to a second solution: What about creating a parameter injection from the test, that would solve my problems too.
An advantage would be to purge both storages in one strike.
The text was updated successfully, but these errors were encountered: