Conditions | 4 |
Paths | 3 |
Total Lines | 18 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 9 | ||
Bugs | 0 | Features | 3 |
1 | <?php |
||
38 | */ |
||
39 | public function getDatePeriod() |
||
40 | { |
||
41 | return new \DatePeriod($this->begin, new \DateInterval('P1D'), $this->end); |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Returns the day name (probably in english). |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function __toString() |
||
50 | { |
||
51 | return $this->format('l'); |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @param \DateTime $start |
||
56 | * |
||
124 |