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

HasHelloBaseFolderTrait   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 15
rs 10
c 0
b 0
f 0
ccs 0
cts 6
cp 0
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A addNamespacePath() 0 4 1
A addAdminBaseNamespacePath() 0 4 1
1
<?php
2
3
namespace ByTIC\Hello\Library\View\Traits;
4
5
/**
6
 * Trait HasAdminBaseFolderTrait
7
 * @package ByTIC\AdminBase\Library\View\Traits
8
 *
9
 * @method addPath($path, $namespace)
10
 */
11
trait HasHelloBaseFolderTrait
12
{
13
    /**
14
     * @deprecated Use addAdminBaseNamespacePath()
15
     */
16
    public function addNamespacePath()
17
    {
18
        $this->addAdminBaseNamespacePath();
19
    }
20
21
    public function addAdminBaseNamespacePath()
22
    {
23
        $this->addPath(__DIR__ . '/../../../../resources/themes/bootstrap3/views/', 'Hello');
24
    }
25
}
26