TriggerEntity   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 11
c 1
b 0
f 0
dl 0
loc 44
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace Lagdo\DbAdmin\Driver\Entity;
4
5
class TriggerEntity
6
{
7
    /**
8
     * @var string
9
     */
10
    public $name = '';
11
12
    /**
13
     * @var string
14
     */
15
    public $timing = '';
16
17
    /**
18
     * @var string
19
     */
20
    public $event = '';
21
22
    /**
23
     * @var string
24
     */
25
    public $statement = '';
26
27
    /**
28
     * @var string
29
     */
30
    public $of = '';
31
32
    /**
33
     * The constructor
34
     *
35
     * @param string $timing
36
     * @param string $event
37
     * @param string $of
38
     * @param string $statement
39
     * @param string $name
40
     */
41
    public function __construct(string $timing = '', string $event = '',
42
        string $statement = '', string $of = '', string $name = '')
43
    {
44
        $this->timing = $timing;
45
        $this->event = $event;
46
        $this->statement = $statement;
47
        $this->of = $of;
48
        $this->name = $name;
49
    }
50
}
51