InsuranceDocument   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
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