Completed
Push — master ( 8f2e40...7dcc71 )
by wen
02:45
created

ActionLog::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
4
namespace Sco\ActionLog\Models;
5
6
7
use Illuminate\Database\Eloquent\Model;
8
9
class ActionLog extends Model
10
{
11
    public function __construct(array $attributes = [])
12
    {
13
        parent::__construct($attributes);
14
        $this->table = config('actionlog.table_name');
15
    }
16
}
17