Gc\Mvc\Module::getAutoloaderConfig PHP Method

getAutoloaderConfig() public method

Get autoloader config
public getAutoloaderConfig ( ) : array
return array
    public function getAutoloaderConfig()
    {
        return array('Zend\\Loader\\ClassMapAutoloader' => array($this->getDir() . '/autoload_classmap.php'), 'Zend\\Loader\\StandardAutoloader' => array('namespaces' => array($this->getNamespace() => $this->getDir() . '/src/' . $this->getNamespace())));
    }

Usage Example

Beispiel #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testGetAutoloaderConfig()
 {
     $this->assertInternalType('array', $this->object->getAutoloaderConfig());
 }