public function get($eventId, array $params = array())
    {
        $endpoint = '/admin/events/'.$eventId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Event::class, $response['event']);
    }
public function get($eventId, array $params = array())
    {
        $endpoint = '/admin/events/'.$eventId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Event::class, $response['event']);
    }
public function get ( $ eventId , array $ params = array ( ) ) { $ endpoint = '/admin/events/' . $ eventId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Event :: class , $ response [ 'event' ] ) ; }
Receive a single event

@link   https://help.shopify.com/api/reference/event#show
@param  integer $eventId
@param  array   $params
@return Event
Receive a single event