Facade   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
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the overtrue/laravel-shopping-cart.
5
 *
6
 * (c) 2016 overtrue <[email protected]>
7
 */
8
9
namespace Overtrue\LaravelShoppingCart;
10
11
use Illuminate\Support\Facades\Facade as LaravelFacade;
12
13
/**
14
 * Facade for Laravel.
15
 */
16
class Facade extends LaravelFacade
17
{
18
    /**
19
     * Get the registered name of the component.
20
     *
21
     * @return string
22
     */
23
    protected static function getFacadeAccessor()
24
    {
25
        return Cart::class;
26
    }
27
}
28