/**
  * @param CreateVisit $createVisit
  * @param GetParams $getParams
  *
  * @return void
  */
 public function visit(CreateVisit $createVisit, GetParams $getParams)
 {
     $params = $getParams->build(request('q'));
     $uuid = array_get($params, 'uuid');
     $location = array_get($params, 'location');
     $referrer = array_get($params, 'referrer');
     $createVisit->fire($uuid, $_SERVER['REMOTE_ADDR'], $location, $referrer);
 }
 /**
  * @param CreateVisit $createVisit
  * @param GetParams $getParams
  */
 public function visit(CreateVisit $createVisit, GetParams $getParams)
 {
     $params = $getParams->build(Request::get('q'));
     $createVisit->fire($params['uuid'], $_SERVER['REMOTE_ADDR'], $params['location'], $params['referrer']);
 }