| 1 | <?php namespace Arcanedev\LaravelTracker\Trackers; |
||
| 14 | class GeoIpTracker extends AbstractTracker implements GeoIpTrackerContract |
||
| 15 | { |
||
| 16 | /* ------------------------------------------------------------------------------------------------ |
||
| 17 | | Getters & Setters |
||
| 18 | | ------------------------------------------------------------------------------------------------ |
||
| 19 | */ |
||
| 20 | /** |
||
| 21 | * @return \Arcanedev\LaravelTracker\Contracts\Detectors\GeoIpDetector |
||
| 22 | */ |
||
| 23 | 12 | private function getGeoIpDetector() |
|
| 27 | |||
| 28 | /* ------------------------------------------------------------------------------------------------ |
||
| 29 | | Main Functions |
||
| 30 | | ------------------------------------------------------------------------------------------------ |
||
| 31 | */ |
||
| 32 | /** |
||
| 33 | * Track the ip address. |
||
| 34 | * |
||
| 35 | * @param string $ipAddress |
||
| 36 | * |
||
| 37 | * @return int|null |
||
| 38 | */ |
||
| 39 | 12 | public function track($ipAddress) |
|
| 49 | } |
||
| 50 |