stevebauman / location

Detect a users location by their IP Address.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

//

osc2nuke opened this issue · comments

commented

You can use the facade:

use Stevebauman\Location\Position;
use Stevebauman\Location\Facades\Location;

Location::shouldReceive('get')->once()->andReturn(new Position());