@@ -108,7 +108,7 @@ listeners, You can set up different fake ip listener priority.
108
108
` ` ` yaml
109
109
# app/config/config_dev.yml
110
110
bazinga_geocoder:
111
- fake_ip:
111
+ fake_ip:
112
112
ip: 123.345.643.133
113
113
priority: 128
114
114
` ` `
@@ -165,6 +165,8 @@ to this provider and cache the return value.
165
165
__Configuration example:__
166
166
167
167
` ` ` yaml
168
+ # app/config/config*.yml
169
+
168
170
services:
169
171
acme_cache_adapter:
170
172
class: "Doctrine\C ommon\C ache\A pcCache"
@@ -181,12 +183,14 @@ bazinga_geocoder:
181
183
> we recommend the [liip/doctrine-cache-bundle](https://github.com/liip/LiipDoctrineCacheBundle.git).
182
184
183
185
184
- # ## Symfony2 Profiler integration
186
+ # ## Symfony2 Profiler Integration
185
187
186
- Geocoder bundle additionally integrates with Syfmony2 profiler. You can check number of queries executed
187
- by each provider, total execution time and geocoding results.
188
+ Geocoder bundle additionally integrates with Symfony2 profiler. You can
189
+ check number of queries executed by each provider, total execution time
190
+ and geocoding results.
188
191
189
- 
192
+ 
190
194
191
195
192
196
Reference Configuration
@@ -247,3 +251,15 @@ bazinga_geocoder:
247
251
chain:
248
252
providers: [free_geo_ip, host_ip]
249
253
` ` `
254
+
255
+
256
+ Testing
257
+ -------
258
+
259
+ Setup the test suite using [Composer](http://getcomposer.org/) :
260
+
261
+ $ composer install --dev
262
+
263
+ Run it using PHPUnit :
264
+
265
+ $ phpunit
0 commit comments