Module::getAutoloaderConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * ZfMailer
4
 *
5
 * @author     Daniel Wolkenhauer <[email protected]>
6
 * @copyright  Copyright (c) 1997-2019 Daniel Wolkenhauer
7
 * @link       http://dw-labs.de/zfmailer
8
 * @version    3.0.0
9
 */
10
11
namespace ZfMailer;
12
13
/**
14
 * ZfMailer
15
 *
16
 * Simple Mailer for Zend Framework (Zend\Mail)
17
 *
18
 * @package ZfMailer
19
 */
20
class Module
21
{
22
23
  /**
24
   * Return an array for passing to Zend\Loader\AutoloaderFactory.
25
   *
26
   * @return array
27
   */
28
  public function getAutoloaderConfig()
29
  {
30
31
    return array(
32
33
      'Zend\Loader\ClassMapAutoloader' => array(
34
        __DIR__ . '/autoload_classmap.php',
35
      ),
36
37
    );
38
39
  }
40
41
  /**
42
   * Returns the module configuration to merge with application configuration
43
   *
44
   * @return array|\Traversable
45
   */
46
  public function getConfig()
47
  {
48
    return include __DIR__ . '/config/module.config.php';
49
  }
50
51
}
52