You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to set the property "localfile" initially, but thats not possible in services.yml, because it only allows to inject variables in the constructor and/or additionally calling a certain setter.
having this setter would help here.
i personally don't see a reason for not having a setter.
The text was updated successfully, but these errors were encountered:
as i am facing the issue, that browscap loads the file from the server, even when i set localfile, i think the setter should also prevent the class to load the file from the server.
I am using symfony and phpbrowscap as service defined in
services.yml
.currently, my definition in
services.yml
look like this:I'd like to set the property "localfile" initially, but thats not possible in
services.yml
, because it only allows to inject variables in the constructor and/or additionally calling a certain setter.having this setter would help here.
i personally don't see a reason for not having a setter.
The text was updated successfully, but these errors were encountered: