Esempio n. 1
0
 /**
  * Constructor.
  *
  * @param LocationInstance $instance
  */
 public function __construct(LocationInstance $instance)
 {
     $this->instance = $instance;
     $this->config = $this->instance->getConfig();
     $this->url = $this->config->get('location.drivers.GeoPlugin.url');
 }
Esempio n. 2
0
 /**
  * @param LocationInstance $instance
  */
 public function __construct(LocationInstance $instance)
 {
     $this->instance = $instance;
     $this->config = $this->instance->getConfig();
     $this->url = $this->config->get('location' . $this->instance->getConfigSeparator() . 'drivers.IpInfo.url');
 }
Esempio n. 3
0
 /**
  * Constructor.
  *
  * @param LocationInstance $instance
  */
 public function __construct(LocationInstance $instance)
 {
     $this->instance = $instance;
     $this->config = $this->instance->getConfig();
 }