Referer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A domain() 0 4 1
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