I want to test what happens when I use an particular extension hook
(plus any appropriate args)
can I pass that a lambda function or something?
I suppose in theory you could create an anonymous class, then
I have absolutely no idea if that would work 😛
Can you make an extension
Extensible::add_extension(DataObject::class, $anonymousClass)~ the first one is fine