for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Matthias Glaub <[email protected]>
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
*/
namespace MaglLegacyApplication;
use MaglLegacyApplication\Application\MaglLegacy;
use Psr\Container\ContainerInterface;
use Zend\Mvc\MvcEvent;
use Zend\Router\RouteMatch;
use Zend\ServiceManager\ServiceManager;
class Module
{
public function onBootstrap(MvcEvent $event)
MaglLegacy::getInstance()->setApplication($event->getApplication());
}
public function getConfig()
return include realpath(__DIR__ . '/../../config/module.config.php');
public function getAutoloaderConfig()
return array(
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__,
),
);