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

DateTimeRangeButtonItem::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

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