Stage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A candidates() 0 3 1
1
<?php
2
3
namespace App\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class Stage extends Model
8
{
9
    protected $connection = 'tenant';
10
11
    const STAGE_NEW = 1;
12
    const STAGE_CV_ANALYSIS = 2;
13
14
    public function candidates()
15
    {
16
        return $this->hasMany('App\Models\Candidate');
17
    }
18
}
19