TestimonialGroup
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 0
eloc 9
c 1
b 0
f 1
dl 0
loc 12
1
<?php
2
3
namespace DavideCasiraghi\LaravelTestimonials\Models;
4
5
use Astrotomic\Translatable\Translatable;
6
use Illuminate\Database\Eloquent\Model;
7
8
class TestimonialGroup extends Model
9
{
10
    protected $table = 'testimonial_groups';
11
12
    use Translatable;
0 ignored issues
show
Bug introduced by
The trait Astrotomic\Translatable\Translatable requires the property $each which is not provided by DavideCasiraghi\LaravelT...Models\TestimonialGroup.
Loading history...
13
14
    public $translatedAttributes = ['title'];
15
    protected $fillable = [
16
        'quotes_color',
17
        'max_characters',
18
        'show_title',
19
        'title_alignment',
20
    ];
21
}
22