| Conditions | 4 |
| Paths | 3 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | public function getDatePeriod() |
||
| 24 | { |
||
| 25 | return new \DatePeriod($this->begin, new \DateInterval('PT1M'), $this->end); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param \DateTime $start |
||
| 30 | * |
||
| 31 | * @return bool |
||
| 32 | */ |
||
| 33 | public static function isValid(\DateTime $start) |
||
| 34 | { |
||
| 35 | return $start->format('i:s') == '00:00'; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function current() |
||
| 114 |