XenForo Unable to extend Repository classes

D

Dr.XGB

Guest
Hello!

I'm migrating my addons to XF 2.3 and I ran into a problem when exntending some Repository classes.
The new version now uses a better naming convention to its classes (and that's great) such as \XF\Repository\Thread now is \XF\Repository\ThreadRepository, for example.

After setting my addon's extended classes to this convention, some repositories don't recognise the extension and so PHP throws an exception. This problem is only occouring with repositories. The...

Read more

Continue reading...