Referer::domain()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace PragmaRX\Tracker\Vendor\Laravel\Models;
4
5
class Referer extends Base
6
{
7
    protected $table = 'tracker_referers';
8
9
    protected $fillable = [
10
        'url',
11
        'host',
12
        'domain_id',
13
        'medium',
14
        'source',
15
        'search_terms_hash',
16
    ];
17
18
    public function domain()
19
    {
20
        return $this->belongsTo($this->getConfig()->get('domain_model'));
21
    }
22
}
23