Class 'SearchVariantVersioned' doesn't exist
Closed this issue · 2 comments
nedmas commented
So SearchVariantVersioned
appears to be defined in silverstripe-fulltextsearch
not framework
or cms
so by extending it in your SearchVariantVersionedDataObject
class you have introduced a dependancy on silverstripe-fulltextsearch
.
As far as I see it there are three possible solutions:
- Move
SearchVariantVersionedDataObject
to it's own package - Declare
silverstripe-fulltextsearch
as a composer dependancy - Check to see if
SearchVariantVersioned
exists and if it doesn't create a stub
I'm happy to do the work and submit a PR but wanted to see what your thoughts were first.
camspiers commented