Comments (1)
If you have several reader services, then Symfony dependency injector will not be able to automatically determine which one to inject, because for Symfony injector, these services are the same and only you know which one to use where.
You will have to explicitly describe dependency injection in configs or use a ReaderFactory
or create a proxy classes for each databases.
from geoip2.
Related Issues (20)
- how to inject service in symfony 4? HOT 2
- Old urls's to databases not working HOT 13
- PHPStan error HOT 1
- Need update Travis CI config
- got error after Upgrading a Patch Version 4.3.* branch HOT 1
- Need allow use a empty configuration
- SymfonyStyle is not supported in Symfony 2.3 - 2.6
- Need break support Symfony 2.6 and below HOT 1
- Enable auto-wiring HOT 3
- Issue with Symfony 4.4 integration - The file var/cache/dev/GeoLite2-City.mmdb does not exist or is not readable HOT 3
- Paid edition's of the database aren't allowed as "edition" value HOT 2
- DependencyInjection for ReaderFactory does not work in Symfony 5.2 HOT 3
- Issue with Symfony 4.4 integration - Resource temporarily unavailable HOT 6
- Unrecognized option "path" under "gpslab_geoip" HOT 1
- Usage of ASN database HOT 5
- Out of memory updating GeoLite2-City HOT 1
- no Command efined HOT 2
- Update will throw an UnexpectedValueException HOT 1
- Allow setting permissions on downloaded databases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoip2.