Psr7Middlewares\Middleware\Geolocate::getLocation PHP Method

getLocation() public static method

Returns the client location.
public static getLocation ( Psr\Http\Message\ServerRequestInterface $request ) : Geocoder\Model\AddressCollection | null
$request Psr\Http\Message\ServerRequestInterface
return Geocoder\Model\AddressCollection | null
    public static function getLocation(ServerRequestInterface $request)
    {
        return self::getAttribute($request, self::KEY);
    }