Module   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 11
c 0
b 0
f 0
dl 0
loc 18
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace InvoiceNinjaModule;
6
7
use Laminas\ModuleManager\Feature\ConfigProviderInterface;
8
9
/**
10
 * Class Module
11
 * @codeCoverageIgnore
12
 */
13
class Module implements ConfigProviderInterface
14
{
15
    public const INVOICE_NINJA_CONFIG = 'invoiceNinjaConfig';
16
    public const TOKEN = 'token';
17
    public const TOKEN_TYPE = 'tokenType';
18
    public const API_TIMEOUT = 'apiTimeout';
19
    public const HOST_URL = 'hostUrl';
20
    public const URL = 'url';
21
    public const AUTHORIZATION = 'authorization';
22
    public const AUTH_USER = 'auth_user';
23
    public const AUTH_PASS = 'auth_pass';
24
25
    /**
26
     * {@inheritDoc}
27
     */
28
    public function getConfig()
29
    {
30
        return include __DIR__ . '/../config/module.config.php';
31
    }
32
}
33