Module::getAutoloaderConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
c 2
b 1
f 0
dl 0
loc 10
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace LearnZF2Captcha;
4
5
class Module
6
{
7
    public function getConfig()
8
    {
9
        $moduleConfig = include __DIR__.'/config/module.config.php';
10
        $captchaConfig = include __DIR__.'/config/captcha.config.php';
11
12
        return array_merge($moduleConfig, $captchaConfig);
13
    }
14
15
    public function getAutoloaderConfig()
16
    {
17
        return [
18
            'Zend\Loader\StandardAutoloader' => [
19
                'namespaces' => [
20
                    __NAMESPACE__ => __DIR__.'/src/'.__NAMESPACE__,
21
                ],
22
            ],
23
        ];
24
    }
25
}
26