Gc\Mvc\Module::getAutoloaderConfig PHP Метод

getAutoloaderConfig() публичный Метод

Get autoloader config
public getAutoloaderConfig ( ) : array
Результат 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

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