-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I'd like to use Foundry for a legacy code base where objects are not persisted through Doctrine ORM, but other means.
Currently, my factories for such legacy model objects call $this->withoutPersisting() in their initialize() method. All clients using these factories call create() or similar and then have to take care of persisting the objects (when necessary) themselves.
Is there a standard way or hook that I could use to centralize custom persistence code in the factories?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request