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

addAdminBaseNamespacePath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 0
cts 3
cp 0
crap 2
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