Exemple #1
0
 /**
  * Push an event to the API client.
  * @param string $collection The name of the collection to push to
  * @param array $eventDetails The event details
  * @return Response
  */
 private function pushEvent($collection, $eventDetails)
 {
     $event = new Event($eventDetails);
     return $this->client->pushEvent($collection, $event->getDetails());
 }