I'm trying to call an action from my main class in Craft 3. This is working fine with my services like this:
AbandonedCart::$plugin->serviceExample->serviceMethod();
I've tried to do something similar for my action but it doesn't work and I can't find any solution to it.
AbandonedCart::$plugin->actionExample->actionFunction();
Any ideas on how to do this?
Thanks in advance, Sam