The comments for each make it seem like exists() is meant to be overridden as appropriate in subclasses and isInDB() usually shouldn’t be overridden

Out of curiosity, why have the difference between isInDB() and exists() on DataObjects?

Many ways to skin the proverbial cat

🙀 (1) 😹 (1)

pick the most appropriate given your constraints (that things are sometimes a bit too tightly integrated)

you can call without writing by calling extend on your TestOnly object @webbower :)

https://github.com/NightJar/ssrigging-slug/blob/master/tests/SlugTest.php#L69-L70 (edited)

Attachments:
tests/SlugTest.php:69-70
tests/SlugTest.php:69-70