/**
  * Get all event entries
  */
 public function getAllEntries()
 {
     try {
         $response = $this->client->getEvents(['group_urlname' => $this->groupName]);
     } catch (ClientErrorResponseException $e) {
         return array();
     }
     return array_map(array($this, 'createEntity'), $response->getData());
 }
 /**
  * Allows and Admin to check a user into an event
  *
  * API Client has no support for POST, so we use Buzz.
  *
  * @param string $eventId
  * @param string $userId
  * @return bool
  */
 public function checkUserIn($eventId, $userId)
 {
     $params = array('event_id' => $eventId, 'attendee_member_id' => $userId);
     $response = $this->client->postCheckin($params);
     if ($response->getStatusCode() != 201) {
         return false;
     }
     return true;
 }