| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function meetingsComingSoonRegistrationsForUser($user) |
||
| 25 | { |
||
| 26 | $start = new DateTime(); |
||
| 27 | $end = new DateTime(); |
||
| 28 | $end->add(new DateInterval('P7D')); |
||
| 29 | $meetings = $this->getEntityManager()->getRepository(Meeting::class)->periodMeetings($start, $end); |
||
| 30 | |||
| 31 | return $this->findBy(['meeting' => $meetings, 'user' => $user]); |
||
| 32 | } |
||
| 50 |