Example #1
0
 public function getUnconfirmedAttendees(Event $event)
 {
     $url = $event->getUri() . '?what=maybe&do=showAll';
     $crawler = $this->client->ajax($url, [], function ($response) {
         return $this->getAttendeesSnippet($response, 'snippet--visitorsallmaybe');
     });
     $page = new AttendeesPage($crawler, $this->client);
     $attendees = $page->getAttendees();
     $event->setUnconfirmedAttendees($attendees);
     return $attendees;
 }