Total Lines | 8 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | "callback" => function () { |
||
12 | $ipgeo = new \Blixter\IpGeolocation\IpGeoModel(); |
||
13 | // Load the configuration files |
||
14 | $cfg = $this->get("configuration"); |
||
|
|||
15 | $config = $cfg->load("keys.php"); |
||
16 | $config = $config["config"] ?? null; |
||
17 | $ipgeo->setApi($config['ipStackApiKey']); |
||
18 | return $ipgeo; |
||
19 | }, |
||
23 |