Stevebauman\Location\Location::setDriver PHP Method

setDriver() public method

Creates the selected driver instance and sets the driver property.
public setDriver ( Driver $driver )
$driver Stevebauman\Location\Drivers\Driver
    public function setDriver(Driver $driver)
    {
        $this->driver = $driver;
    }