will use retrieve the Acme\Platform::class service from the container and use it as platform.
This may be leveraged to avoid triggering automatic platform detection (my specific use case was to generate proxies without a connection ready, i.e. in a Dockerfile).
Coverage increased (+0.4%) to 46.933% when pulling be6bf16069589b8d4c8e0ed5bddc296651975723 on stefanotorresi:dbal-platform-settings into a4833d25dcfa42165c4ddec0c7062528206eeadc on DASPRiD:master.
This PR adds the ability to use a custom platform instance by setting a service name as the
params
key of the connection settings.E.g.
will use retrieve the
Acme\Platform::class
service from the container and use it as platform. This may be leveraged to avoid triggering automatic platform detection (my specific use case was to generate proxies without a connection ready, i.e. in a Dockerfile).