DocumentDTO   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 23
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: marek
5
 * Date: 08.12.15
6
 * Time: 12:50.
7
 */
8
namespace Madkom\RegistryApplication\Application\CarManagement;
9
10
class DocumentDTO
11
{
12
    public $docId;
13
    public $title;
14
    public $description;
15
    public $source;
16
17
    /**
18
     * CarDocumentDTO constructor.
19
     *
20
     * @param $docId
21
     * @param $title
22
     * @param $description
23
     * @param $source
24
     */
25
    public function __construct($docId, $title, $description, $source)
26
    {
27
        $this->docId = $docId;
28
        $this->title = $title;
29
        $this->description = $description;
30
        $this->source = $source;
31
    }
32
}
33