Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 45d34ca15a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 54 lines (45 sloc) 1.453 kB
<?php
namespace MistDoctrine;
use Zend\Module\Manager,
Zend\EventManager\StaticEventManager,
Zend\Module\Consumer\AutoloaderProvider;
class Module implements AutoloaderProvider
{
public function init(Manager $moduleManager)
{
}
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
'Doctrine\\ORM' => __DIR__ . '/vendor/doctrine-orm/lib/Doctrine/ORM',
'Doctrine\\DBAL' => __DIR__ . '/vendor/doctrine-dbal/lib/Doctrine/DBAL',
'Doctrine\\Common' => __DIR__ . '/vendor/doctrine-common/lib/Doctrine/Common',
'Symfony' => __DIR__ . '/vendor/symfony/lib/Symfony',
),
),
);
}
public function getConfig($env = null)
{
return include __DIR__ . '/config/module.config.php';
}
public function getProvides()
{
return array(
'name' => 'doctrine',
'version' => Doctrine\ORM\Version::VERSION
);
}
public function getDependencies()
{
return array(
'zf2-mvc' => '>=1.0.0'
);
}
}
Jump to Line
Something went wrong with that request. Please try again.