Completed
Push — master ( f93597...e20ab9 )
by ARCANEDEV
06:06
created

Model   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 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 19
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php namespace Arcanedev\LaravelSeo\Bases;
2
3
use Arcanedev\Support\Bases\Model as BaseModel;
4
5
/**
6
 * Class     Model
7
 *
8
 * @package  Arcanedev\LaravelSeo\Bases
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class Model extends BaseModel
12
{
13
    /* ------------------------------------------------------------------------------------------------
14
     |  Constructor
15
     | ------------------------------------------------------------------------------------------------
16
     */
17
    /**
18
     * Create a new Eloquent model instance.
19
     *
20
     * @param  array  $attributes
21
     */
22 36
    public function __construct(array $attributes = [])
23
    {
24 36
        $this->setConnection(config('laravel-seo.database.connection', null));
25 36
        $this->setPrefix(config('laravel-seo.database.prefix', null));
26
27 36
        parent::__construct($attributes);
28 36
    }
29
}
30