src/Client.php
private function pushEvent($collection, $eventDetails) {
        $event = new Event($eventDetails);
        return $this->client->pushEvent($collection, $event->getDetails());
    }
private function pushEvent($collection, $eventDetails) {
        $event = new Event($eventDetails);
        return $this->client->pushEvent($collection, $event->getDetails());
    }
private function pushEvent ( $ collection , $ eventDetails ) { $ event = new Event ( $ eventDetails ) ; return $ this -> client -> pushEvent ( $ collection , $ event -> getDetails ( ) ) ; }
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
Push an event to the API client .