Answer the question
In order to leave comments, you need to log in
Can I write my own driver for doctrine?
Is it possible to write your own driver for the doctrine so that it does not get the data from the database, and how rational is this?
Those. for example, I want to work with entities through the doctrine, but for the doctrine to take information for these entities, for example, through the api of some service, or from elasticsearch, or from any other source other than the database
Answer the question
In order to leave comments, you need to log in
Can. But, in my opinion, it's better to retrieve data via the API and save it to a local database, sometimes doing synchronization (at some intervals). And to use the doctrine already with a local base.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question