Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public function __construct(object $cron) |
||
35 | { |
||
36 | $this->id = $cron->id; |
||
37 | $this->server = $cron->server; |
||
38 | $this->command = $cron->command; |
||
39 | $this->minute = $cron->minute; |
||
40 | $this->hour = $cron->hour; |
||
41 | $this->dayMonth = $cron->day_month; |
||
42 | $this->month = $cron->month; |
||
43 | $this->dayWeek = $cron->day_week; |
||
44 | $this->label = $cron->label; |
||
45 | $this->flags = $cron->flags; |
||
46 | $this->environment = $cron->environment; |
||
47 | $this->links = $cron->_links; |
||
48 | } |
||
50 |