\Vegas\CliConsole

Class Console

Summary

Methods
Properties
Constants
registerModules()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

registerModules()

registerModules(array $modules)

Register an array of modules present in the application

$this->registerModules(array(

'frontend' => array(
    'className' => 'Multiple\Frontend\Module',
    'path' => 'app/frontend/Module.php'
),
'backend' => array(
    'className' => 'Multiple\Backend\Module',
    'path' => '../apps/backend/Module.php'
)

));

Parameters

array $modules