Test Failed
Push — master ( a6b51e...5fffdb )
by Gabriel
08:05
created

PathHelper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
ccs 0
cts 5
cp 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A keys() 0 7 1
1
<?php
2
3
namespace ByTIC\Hello\Utility;
4
5
/**
6
 * Class PathHelper
7
 * @package ByTIC\Hello\Utility
8
 */
9
class PathHelper
10
{
11
    /**
12
     * @param null $path
13
     * @return string
14
     */
15
    public static function keys($path = null)
16
    {
17
        return dirname(dirname(__DIR__))
18
            . DIRECTORY_SEPARATOR . 'resources'
19
            . DIRECTORY_SEPARATOR . 'keys'
20
            . DIRECTORY_SEPARATOR . $path;
21
    }
22
}