Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
16 | public function __construct(string $uniqueName, string $startColumn, string $endColumn) |
||
17 | { |
||
18 | parent::__construct($uniqueName); |
||
19 | |||
20 | $this->options['start_name'] = $startColumn; |
||
21 | $this->options['end_name'] = $endColumn; |
||
22 | |||
23 | $now = Carbon::now()->toDateTimeString(); |
||
24 | $this->start($now); |
||
25 | $this->end($now); |
||
26 | |||
27 | $this->format('DD.MM.YYYY'); |
||
28 | } |
||
29 | |||
59 |