Closed thomaskonrad closed 3 years ago
Sorry, for the late answer. My open-source projects lack a bit of support currently.
If it still matters: This is more a question for Symfony, or their DI component to be specific. I'd suggest that you have SslOptions in the DIC and configure it there accordingly.
I have defined my Gelf Symfony services as follows:
The
HttpTransport
constructor looks like this:How can I pass an
SslOptions
object here via the service definition? The class has no constructor, so I cannot simply use it as a service. Do I have to overrideSslOptions
, make a service out of it, and pass the options to the constructor? Or what's the default way of specifying SSL options with this library?