LaunchScreenAdvert::getPresenterClass()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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