Facade::getFacadeAccessor()   A
last analyzed

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 0
cp 0
crap 2
1
<?php namespace Rocket\Taxonomy\Support\Laravel5;
2
3
/**
4
 * Class Taxonomy
5
 */
6
class Facade extends \Illuminate\Support\Facades\Facade
7
{
8
    const TERM_CONTENT = 0;
9
    const TERM_CATEGORY = 1;
10
11
    /**
12
     * Get the registered name of the component.
13
     *
14
     * @return string
15
     */
16
    protected static function getFacadeAccessor()
17
    {
18
        return 'taxonomy';
19
    }
20
}
21