Skip to content

Instantly share code, notes, and snippets.

@jonathanselander
Created August 13, 2012 17:22
Show Gist options
  • Save jonathanselander/3342594 to your computer and use it in GitHub Desktop.
Save jonathanselander/3342594 to your computer and use it in GitHub Desktop.
<?php
class Module
{
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
),
),
);
}
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment