Completed
Push — feature/fixing_cost ( 2c76a0...f58af6 )
by Laurent
01:38
created

InvoiceDamageCommand::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
4
namespace FlightLog\Application\Damage\Command;
5
6
7
final class InvoiceDamageCommand
8
{
9
    /**
10
     * @var int
11
     */
12
    private $damageId;
13
14
    /**
15
     * @param int $damageId
16
     */
17
    public function __construct($damageId)
18
    {
19
        $this->damageId = $damageId;
20
    }
21
22
    /**
23
     * @return int
24
     */
25
    public function getDamageId()
26
    {
27
        return $this->damageId;
28
    }
29
}