Completed
Push — master ( e822b7...f4f9e6 )
by Андрей
02:09
created

TestPaths   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 23
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getPathToModule() 0 4 1
A getPathToDefaultAppConfig() 0 4 1
1
<?php
2
/**
3
 * @link    https://github.com/nnx-framework/container
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace Nnx\Container\PhpUnit\TestData;
7
8
/**
9
 * Class TestPaths
10
 *
11
 * @package Nnx\Container\PhpUnit\TestData
12
 */
13
class TestPaths
14
{
15
16
    /**
17
     * Путь до директории модуля
18
     *
19
     * @return string
20
     */
21
    public static function getPathToModule()
22
    {
23
        return __DIR__ . '/../../../';
24
    }
25
26
    /**
27
     * Путь до конфига приложения по умолчанию
28
     *
29
     * @return string
30
     */
31
    public static function getPathToDefaultAppConfig()
32
    {
33
        return  __DIR__ . '/../_files/DefaultApp/application.config.php';
34
    }
35
}
36