SecurityClearance   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 11
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A job_posters() 0 3 1
1
<?php
2
3
namespace App\Models\Lookup;
4
5
use App\Models\BaseModel;
6
use Spatie\Translatable\HasTranslations;
7
8
/**
9
 * Class SecurityClearance
10
 *
11
 * @property int $id
12
 * @property string $name
13
 * @property \Jenssegers\Date\Date $created_at
14
 * @property \Jenssegers\Date\Date $updated_at
15
 *
16
 * @property \Illuminate\Database\Eloquent\Collection $job_posters
17
 *
18
 * Localized Properties:
19
 * @property string $value
20
 */
21
class SecurityClearance extends BaseModel
22
{
23
24
    use HasTranslations;
25
26
    public $translatable = ['value'];
27
    protected $fillable = [];
28
29
    public function job_posters() //phpcs:ignore
30
    {
31
        return $this->hasMany(\App\Models\JobPoster::class);
32
    }
33
}
34