BladeX   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
namespace Spatie\BladeX\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @see \Spatie\BladeX\BladeX
9
 *
10
 * @method static null|\Spatie\BladeX\Component component($view, string $tag = '')
11
 * @method static \Spatie\BladeX\ComponentCollection|\Spatie\BladeX\Component[] components(string|string[] $viewDirectory)
12
 * @method static \Spatie\BladeX\Component[] registeredComponents()
13
 * @method static \Spatie\BladeX\BladeX prefix(string $prefix = '')
14
 * @method static string getPrefix()
15
 */
16
class BladeX extends Facade
17
{
18
    protected static function getFacadeAccessor()
19
    {
20
        return 'blade-x';
21
    }
22
}
23