Passed
Push — master ( 1c7b90...582cac )
by Petr
02:42
created

DateTimeRangeButtonItem   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 11
c 0
b 0
f 0
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace kalanis\kw_table\form_nette_lte\Helper;
4
5
6
class DateTimeRangeButtonItem
7
{
8
    public $text;
9
    public $startJs;
10
    public $endJs;
11
    public $startTime;
12
    public $endTime;
13
14
    public function __construct($text, $startJs, $endJs, $startTime, $endTime)
15
    {
16
        $this->text = $text;
17
        $this->startJs = $startJs;
18
        $this->endJs = $endJs;
19
        $this->startTime = $startTime;
20
        $this->endTime = $endTime;
21
    }
22
}
23