drop support for php 7.4 (#5740)
[openemr.git] / interface / modules / zend_modules / module / Installer / Module.php
blobf165b54cb04196f973ae347d2e076dce2da5a9cc
1 <?php
3 /**
4 * interface/modules/zend_modules/module/Installer/Module.php
6 * @package OpenEMR
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
14 namespace Installer;
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;
22 /**
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
26 class Module
28 public function getAutoloaderConfig()
30 return array(
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';