Feature   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
namespace LaravelFeature\Facade;
4
5
use LaravelFeature\Domain\FeatureManager;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * @method static void add($featureName, $isEnabled)
10
 * @method static void remove($featureName)
11
 * @method static void rename($featureOldName, $featureNewName)
12
 * @method static void enable($featureName)
13
 * @method static void disable($featureName)
14
 * @method static void isEnabled($featureName)
15
 * @method static bool enableFor($featureName, \LaravelFeature\Featurable\FeaturableInterface $featurable)
16
 * @method static void disableFor($featureName, \LaravelFeature\Featurable\FeaturableInterface $featurable)
17
 * @method static bool isEnabledFor($featureName, \LaravelFeature\Featurable\FeaturableInterface $featurable)
18
 */
19
class Feature extends Facade
20
{
21
    /**
22
     * Get the registered name of the component.
23
     *
24
     * @return string
25
     */
26
    protected static function getFacadeAccessor()
27
    {
28
        return FeatureManager::class;
29
    }
30
}
31