Module::getConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace ExpressApi;
3
4
use ZF\Apigility\Provider\ApigilityProviderInterface;
5
6
class Module implements ApigilityProviderInterface
7
{
8
    public function getConfig()
9
    {
10
        return include __DIR__ . '/../../config/module.config.php';
11
    }
12
13
    public function getAutoloaderConfig()
14
    {
15
        return array(
16
            'ZF\Apigility\Autoloader' => array(
17
                'namespaces' => array(
18
                    __NAMESPACE__ => __DIR__,
19
                ),
20
            ),
21
        );
22
    }
23
}
24