LaunchScreenAdvert   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPresenterClass() 0 4 1
1
<?php
2
3
namespace PHPHub;
4
5
use Illuminate\Database\Eloquent\Model;
6
use McCool\LaravelAutoPresenter\HasPresenter;
7
use PHPHub\Presenters\LaunchScreenAdvertPresenter;
8
9
class LaunchScreenAdvert extends Model implements HasPresenter
10
{
11
    protected $fillable = [];
12
13
    /**
14
     * Get the presenter class.
15
     *
16
     * @return string
17
     */
18
    public function getPresenterClass()
19
    {
20
        return LaunchScreenAdvertPresenter::class;
21
    }
22
}
23