Message   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 11
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Adminetic\Website\Models\Admin;
4
5
use Illuminate\Database\Eloquent\Factories\HasFactory;
6
use Illuminate\Database\Eloquent\Model;
7
8
class Message extends Model
9
{
10
    use HasFactory;
11
12
    protected $guarded = [];
13
14
    public function __construct(array $attributes = [])
15
    {
16
        $this->table = config('website.table_prefix', 'website').'_messages';
17
18
        parent::__construct($attributes);
19
    }
20
}
21