RecruitmentAwareSeeder::setRecruitment()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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