Page
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 3
dl 0
loc 16
c 0
b 0
f 0
1
<?php
2
3
namespace App;
4
5
use App\Libraries\Presenterable\Presenterable;
6
use App\Libraries\Presenterable\Presenters\PagePresenter;
7
use App\Traits\ActivateableTrait;
8
use Keyhunter\Administrator\Model\Page as MainPage;
9
10
class Page extends MainPage
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: hasTranslation, translate, translateOrNew
Loading history...
11
{
12
    use ActivateableTrait, Presenterable;
13
14
    /**
15
     * @var PagePresenter
16
     */
17
    public $presenter = PagePresenter::class;
18
19
    /**
20
     * @var array
21
     */
22
    protected $fillable = [
23
        'slug', 'title', 'body', 'page_type', 'active', 'show_in_footer', 'show_in_header'
24
    ];
25
}