Route   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A paths() 0 4 1
1
<?php
2
3
namespace PragmaRX\Tracker\Vendor\Laravel\Models;
4
5
class Route extends Base
6
{
7
    protected $table = 'tracker_routes';
8
9
    protected $fillable = [
10
        'name',
11
        'action',
12
    ];
13
14
    public function paths()
15
    {
16
        return $this->hasMany($this->getConfig()->get('route_path_model'));
17
    }
18
}
19