InsuranceDocument::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 4
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: marek
5
 * Date: 19.11.15
6
 * Time: 09:37.
7
 */
8
namespace Madkom\RegistryApplication\Domain\CarManagement\Insurances;
9
10
use Madkom\RegistryApplication\Domain\CarManagement\Document;
11
12
class InsuranceDocument extends Document
13
{
14
    public function __construct($id, $title, $description, $source)
15
    {
16
        $this->changeTitle($title);
17
        $this->changeDescription($description);
18
        parent::__construct($id, $source);
19
    }
20
}
21