public function get($ip = '')
{
if (session()->has($this->key)) {
return session($this->key);
}
if ($location = $this->driver->get($ip ?: $this->getClientIP())) {
// We'll store the location inside of our session
// so it isn't retrieved on the next request.
session([$this->key => $location]);
return $location;
}
return false;
}