Bank   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace SimpleCMS\Bank\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static \Illuminate\Support\Collection getBankList()
9
 * @method static \SimpleCMS\Bank\Packages\BankModel|null getBankByCode(string $code)
10
 * @method static \SimpleCMS\Bank\Packages\BankModel|null getBankByName(string $name)
11
 * @method static \SimpleCMS\Bank\Packages\BankModel|null getBankByBin(string $bin)
12
 * @method static \SimpleCMS\Bank\Packages\BankModel|null getBankByCardNumber(string $cardNumber)
13
 * @method static bool checkBin(string $bin)
14
 * @method static bool checkCardNumber(string $bin)
15
 * @method static \Illuminate\Support\Collection<value:string,name:string> getOptions(string $type = 'all')
16
 * 
17
 * @see \SimpleCMS\Bank\Packages\Bank
18
 */
19
class Bank extends Facade
20
{
21
    /**
22
     * @return string
23
     */
24
    protected static function getFacadeAccessor()
25
    {
26
        return 'bank';
27
    }
28
}
29