Skip to content

Commit

Permalink
Updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamHutchison committed Dec 5, 2019
1 parent ceb0b8c commit 1c03e9a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,17 @@ class AppServiceProvider extends ServiceProvider
}
}
```
You may set an optional `scope-driver` config key is you wish to force a specific scope driver to be used.

```php
'models' => [
App\Job::class => [
'lat-column' => 'custom-lat-column-name',
'long-column' => 'custom-long-column-name',
'units' => 'meters',
'scope-driver' => 'mysql'
]
]
```

**If you create a custom scope driver, please consider putting in a pull Request to add it to the package so it may be used by others.**

0 comments on commit 1c03e9a

Please sign in to comment.