jackalope/jackalope — comment on commit f9c8240dbe2b2236d16bc17badd2ff1bdbe8be89
File: src/Jackalope/ObjectManager.php line 1535
By dbu:

ah, then you want to throw if the state is STATE_NEW || **STATE_MODIFIED** :-)