GeoLocation::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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