Completed
Push — master ( 6ee53d...bb5f21 )
by ARCANEDEV
04:30
created

Model::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
ccs 0
cts 5
cp 0
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php namespace Arcanesoft\Pages\Bases;
2
3
use Arcanedev\Support\Bases\Model as BaseModel;
4
5
/**
6
 * Class     Model
7
 *
8
 * @package  Arcanesoft\Pages\Bases
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
abstract 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
    public function __construct(array $attributes = [])
23
    {
24
        $this->prefix = config('arcanesoft.pages.database.prefix', null);
25
26
        parent::__construct($attributes);
27
    }
28
}
29