4 * interface/modules/zend_modules/module/Installer/Module.php
7 * @link https://www.open-emr.org
8 * @author Jacob T.Paul <jacob@zhservices.com>
9 * @author Shalini Balakrishnan <shalini@zhservices.com>
10 * @copyright Copyright (c) 2013 Z&H Consultancy Services Private Limited <sam@zhservices.com>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
16 // Add these import statements:
17 use Installer\Model\InstModule
;
18 use Installer\Model\InstModuleTable
;
19 use Laminas\Db\ResultSet\ResultSet
;
20 use Laminas\Db\TableGateway\TableGateway
;
23 * Handles the initial module load. Any configuration should in the module.config.php file
24 * instead of overloading methods here if at all possible
28 public function getAutoloaderConfig()
31 // TODO: The zf3 autoloader should handle autoloading these classes by default but it's not right now
32 // we need to figure out why that is so we can remove this unnecessary piece.
33 'Laminas\Loader\StandardAutoloader' => array(
34 'namespaces' => array(
35 __NAMESPACE__
=> __DIR__
. '/src/' . __NAMESPACE__
,
41 public function getConfig()
43 return include __DIR__
. '/config/module.config.php';