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
Add a missing save-method to RelationFactory to streamline it with ContentFactory. This method will persist the Relation entity or collection of Relation entities.
The text was updated successfully, but these errors were encountered:
One could argue that $repository is accessible from the EntityManager, but I don't want to affect any other code that uses this constructor. As such, I'm tacking on the EntityManager parameter at the end of the constructor so code that want to use the save-method adds this on creating the RelationFactory (or let dependency injection do it for them).
Add a missing save-method to RelationFactory to streamline it with ContentFactory. This method will persist the Relation entity or collection of Relation entities.
The text was updated successfully, but these errors were encountered: