8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792da3d commit 1140830Copy full SHA for 1140830
CHANGELOG.md
@@ -2,6 +2,10 @@
2
All notable changes to this project will be documented in this file.
3
This project adheres to [Semantic Versioning](http:/ 8000 /semver.org/).
4
5
+## [4.0.21] - 3 Nov 2018
6
+### Added
7
+- `->toJson()` method when querying results.
8
+
9
## [4.0.10] - 1 Jul 2018
10
### Changed
11
- service provider to register singleton and alias in `register()` method.
src/ProviderAndDumperAggregator.php
@@ -51,6 +51,13 @@ public function get() : Collection
51
return $this->results;
52
}
53
54
+ public function toJson() : string
55
+ {
56
+ return $this
57
+ ->dump("geojson")
58
+ ->first();
59
+ }
60
61
public function dump(string $dumper) : Collection
62
{
63
$dumperClasses = collect([
0 commit comments