DocumentDTO::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 4
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