Module::getConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * AistInsight (http://mateuszsitek.com/projects/aist-insight)
5
 *
6
 * @link      http://github.com/ma-si/aist-insight for the canonical source repository
7
 * @copyright Copyright (c) 2006-2016 Aist Internet Technologies (http://aist.pl) All rights reserved.
8
 * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
9
 */
10
11
namespace AistInsight;
12
13
class Module
14
{
15
    /**
16
     * SensioLabsInsight
17
     */
18
    const INSIGHT = '49aa984e-d392-4029-aebf-7e92ca7f55aa';
19
20
    /**
21
     * Get Config
22
     *
23
     * @return array
24
     */
25
    public function getConfig()
26
    {
27
        return include __DIR__ . '/config/module.config.php';
28
    }
29
30
    /**
31
     * An array for Zend\Loader\AutoloaderFactory.
32
     *
33
     * @return array
34
     */
35
    public function getAutoloaderConfig()
36
    {
37
        return [
38
            'Zend\Loader\ClassMapAutoloader' => [
39
                __DIR__ . '/autoload_classmap.php',
40
            ],
41
            'Zend\Loader\StandardAutoloader' => [
42
                'namespaces' => [
43
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
44
                ],
45
            ],
46
        ];
47
    }
48
}
49