| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function __construct() |
||
| 27 | { |
||
| 28 | Carbon::setLocale('fr'); |
||
| 29 | $this->monthName = Carbon::now()->monthName; |
||
| 30 | $this->year = Carbon::now()->year; |
||
| 31 | |||
| 32 | $this->start = Carbon::parse('First day of this month'); |
||
| 33 | $this->end = Carbon::parse('Last day of this month'); |
||
| 34 | |||
| 35 | $this->teachers = Teacher::with('remote_events')->with('events')->with('courses')->get(); |
||
| 36 | } |
||
| 43 |