-
Notifications
You must be signed in to change notification settings - Fork 0
/
Module.php
33 lines (30 loc) · 1.03 KB
/
Module.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.
*
* @link http://github.com/MichaelGooden/MdgMultiUser for the canonical source repository
* @copyright Copyright (c) 2013 Michael Gooden (http://michaelgooden.github.io)
* @license http://michaelgooden.github.io/license/BSD-3-Clause.txt BSD 3-Clause License
*/
namespace MdgMultiUser;
class Module
{
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__
)
)
);
}
/*'zfcuser_user_mapper_admin' => function ($sm)
{
return new \ZfcUserDoctrineORM\Mapper\User($sm->get('zfcuser_doctrine_em'), $sm->get('zfcuser_module_options_admin'));
},*/
}