/** * Returns an instance of the GeoPal API client library * * @return Geopal */ private function getGeoPalClient() { if (is_null($this->geoPalClient)) { $this->geoPalClient = new Geopal($this->config->getGeoPalEmployeeId(), $this->config->getGeoPalAPIKey()); } return $this->geoPalClient; }