Completed
Push — master ( 71b85d...06e05d )
by Evgenii
7s
created

IndicatorManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
namespace Laratrade\Indicators\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
use Laratrade\Indicators\Contracts\IndicatorManager as IndicatorManagerContract;
7
8
/**
9
 * @method static IndicatorManagerContract ao(\Illuminate\Support\Collection $ohlcv)
10
 * @method int IndicatorManagerContract cmo(\Illuminate\Support\Collection $ohlcv, int $period = 14)
11
 */
12
class IndicatorManager extends Facade
13
{
14
    /**
15
     * Get the registered name of the component.
16
     *
17
     * @return string
18
     */
19 2
    protected static function getFacadeAccessor()
20
    {
21 2
        return IndicatorManagerContract::class;
22
    }
23
}
24