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

TestPaths::getPathToDefaultAppConfig()   A

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
 * @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