GeoLocation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Psonrie\GeoLocation\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
use Psonrie\GeoLocation\Drivers\Driver;
7
use Psonrie\GeoLocation\Response;
8
9
/**
10
 * @method static Response|bool get(string $ip)
11
 * @method static void setDriver(Driver $driver)
12
 *
13
 * @see \Psonrie\GeoLocation\GeoLocation
14
 */
15
class GeoLocation extends Facade
16
{
17
    /**
18
     * The IoC key accessor.
19
     *
20
     * @return string
21
     */
22
    protected static function getFacadeAccessor()
23
    {
24
        return 'geo-location';
25
    }
26
}
27