That depends I have a multi module setup with a Core module where the models are all in. In the module config files I point to that folder for the models. But this means all models are in one place.
modelsDir = ../apps/core/models/
Inside the Module bootstrapper I register the models namespace.
class Module implements ModuleDefinitionInterface
{
/**
* Registers the module auto-loader
*/
public function registerAutoloaders()
{
$loader = new Loader();
$loader->registerNamespaces(array(
'Shinzou\Account\Controllers' => __DIR__ . '/controllers/',
'Shinzou\Core\Models' => __DIR__ . '/../core/models/',
'Shinzou\Core\Controllers' => __DIR__ . '/../core/controllers/',
'Shinzou\Account\Forms' => __DIR__. '/forms',
'Shinzou\Core\Library\Mail' => __DIR__ . '/../core/library/Mail/',
));
$loader->register();
}
Hope this helps...
Regards,
Alex