Stage::candidates()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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