Completed
Push — master ( c8ea86...04bb20 )
by ARCANEDEV
05:10 queued 05:02
created

Continents   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 6 1
1
<?php namespace Arcanedev\GeoIP\Entities;
2
3
use Arcanedev\Support\Collection;
4
5
/**
6
 * Class     Continents
7
 *
8
 * @package  Arcanedev\GeoIP\Entities
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class Continents extends Collection
12
{
13
    /* -----------------------------------------------------------------
14
     |  Constructor
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * Make the continents collection.
20
     *
21
     * @return self
22
     */
23 42
    public static function load()
24
    {
25 42
        return static::make(
26 42
            config('geoip.continents')
27 14
        );
28
    }
29
}
30