RecruitmentAwareSeeder   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 17
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setRecruitment() 0 5 1
1
<?php
2
3
namespace App\Services;
4
5
use App\Models\Recruitment;
6
7
abstract class RecruitmentAwareSeeder extends TenantAwareSeeder
8
{
9
    /**
10
     * The name of the default connection.
11
     *
12
     * @var Recruitment
13
     */
14
    protected $recruitment;
15
16
    /**
17
     * @param Recruitment $recruitment
18
     */
19
    public function setRecruitment(Recruitment $recruitment): RecruitmentAwareSeeder
20
    {
21
        $this->recruitment = $recruitment;
22
23
        return $this;
24
    }
25
}
26