I created a module for Craft 3 using pluginfactory.io, and am unable to call services from the primary module class using
$this->orders->method() as shown in the documentation.
The services appear to be registered correctly, as I'm able to call the service methods elsewhere in the module using the
use modules\sitemodule\services\Orders as OrdersService is at the top of the module class, but removing makes no difference in being able to call those service methods from the primary module class.
What is the correct way to call service methods from a primary module class?