FreelancerAppliedForJob::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace App\Domain\Events\Freelancer;
4
5
use Ramsey\Uuid\UuidInterface;
6
7
final class FreelancerAppliedForJob
8
{
9
    /** @var \Ramsey\Uuid\UuidInterface */
10
    private $freelancerId;
11
12
    /** @var \Ramsey\Uuid\UuidInterface */
13
    private $jobId;
14
15
    public function __construct(UuidInterface $freelancerId, UuidInterface $jobId)
16
    {
17
        $this->freelancerId = $freelancerId;
18
        $this->jobId = $jobId;
19
    }
20
21
    public function getFreelancerId(): UuidInterface
22
    {
23
        return $this->freelancerId;
24
    }
25
26
    public function getJobId(): UuidInterface
27
    {
28
        return $this->jobId;
29
    }
30
}