RoutineEntity::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 4
dl 0
loc 6
rs 10
1
<?php
2
3
namespace Lagdo\DbAdmin\Driver\Entity;
4
5
class RoutineEntity
6
{
7
    /**
8
     * @var string
9
     */
10
    public $name = '';
11
12
    /**
13
     * @var string
14
     */
15
    public $specificName = '';
16
17
    /**
18
     * @var string
19
     */
20
    public $type = '';
21
22
    /**
23
     * @var string
24
     */
25
    public $dtd = '';
26
27
    /**
28
     * The constructor
29
     *
30
     * @param string $name
31
     * @param string $specificName
32
     * @param string $type
33
     * @param string $dtd
34
     */
35
    public function __construct(string $name, string $specificName, string $type, string $dtd)
36
    {
37
        $this->name = $name;
38
        $this->specificName = $specificName;
39
        $this->type = $type;
40
        $this->dtd = $dtd;
41
    }
42
}
43