Passed
Push — develop ( b434f0...3e0bc3 )
by Adam
17:53 queued 12s
created

RecruitmentAwareSeeder::setRecruitment()   A

Complexity

Conditions 1
Paths 1

Size

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